Skip to content

Commit 13b8bc8

Browse files
committed
added core scan api playgrounds for testnet2 and mainnet
1 parent 91b50c2 commit 13b8bc8

File tree

70 files changed

+5228
-37
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+5228
-37
lines changed
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
---
2+
id: check-proxy-contract-verification-status-using-get
3+
title: "Check proxy contract verification submission status using cURL"
4+
description: "Check proxy contract verification submission status using cURL"
5+
sidebar_label: "Check proxy contract verification submission status using cURL"
6+
hide_title: true
7+
hide_table_of_contents: true
8+
api: eJylVNFO2zAU/ZXoPm3IawrjKW+IlQkNwQTrXlAVuc5t45HYxr4psMr/jm6SlkArNI2nJPa551znHN81kFwGyG7h1BryUlGAmQDr0EvS1pwXkIEqUd399PbxaQP6jV4vtGohNySpCdOgzfL75BcIcNLLGgk9867ByBohA+n0HT6BAG0gg/sGPX8UGJTXjnmGGI/3jfZYQEa+QQFBlVhLyNZAT47ZAnltlhCj2AosG128T98j/p18xuDgrAkYeP9oPObHa9arHyBAWUNoiHcP0gN+7LDa+R9UBDHGKOB4fLjLNDWyodJ6/ReLV5xdxdfdijPr57oo0OyBH+/CLy0lZ7Yxb9nj2z91yo4nji1PVO95shqYnoRmXusQ2tc2AEnDCUjU9PoCBNRIpeXsLJHaSFAJGaTS6XTDF9I2V3mrkm9W86FK/qKSdyp5q5L3KgH9ahOzxleQQUnkQpam1qGRTo+U9VhIO7J+mQL7qc3CtqZoqtiVE6eTb1Y1NRpqNXdSsw9B6OtwtbhBv9KKaRpvMrIBBFRaoQnIGn0wT5xUJSZHozGIQZtZmj48PIxku9s22JeG9OL8dHJ5M/nCJVEAn7Hr5bBbcDZQLc1A48OGvTrzNrOEj5S6SmrDsm3v697MW76tfY66uSHgg4bOBJQ2EHOv13MZcOqrGHm5u89sc6GDnFd8eReyCrjT+DbW8Om6v+efk+1c2Xss3hrMnpWsGgYBz5b/kuvnzDtiPeJFasYfXrMWZLezKKBEWaBvz9zVnCiFjgZVPGi4cHvXePzG+AzcLgWH
9+
sidebar_class_name: "get api-method"
10+
info_path: docs/api/mainnet/api-documentation
11+
custom_edit_url: null
12+
---
13+
14+
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
15+
import ParamsDetails from "@theme/ParamsDetails";
16+
import RequestSchema from "@theme/RequestSchema";
17+
import StatusCodes from "@theme/StatusCodes";
18+
import OperationTabs from "@theme/OperationTabs";
19+
import TabItem from "@theme/TabItem";
20+
import Heading from "@theme/Heading";
21+
22+
<Heading
23+
as={"h1"}
24+
className={"openapi__heading"}
25+
children={"Check proxy contract verification submission status using cURL"}
26+
>
27+
</Heading>
28+
29+
<MethodEndpoint
30+
method={"get"}
31+
path={"/api/contracts/check_proxy_contract_verification_submission_status_using_cURL"}
32+
context={"endpoint"}
33+
>
34+
35+
</MethodEndpoint>
36+
37+
38+
39+
Check proxy contract verification submission status using cURL
40+
41+
<Heading
42+
id={"request"}
43+
as={"h2"}
44+
className={"openapi-tabs__heading"}
45+
children={"Request"}
46+
>
47+
</Heading>
48+
49+
<ParamsDetails
50+
parameters={[{"name":"apikey","in":"query","description":"apikey","required":true,"schema":{"type":"string"}},{"name":"guid","in":"query","description":"guid","required":true,"schema":{"type":"string"}}]}
51+
>
52+
53+
</ParamsDetails>
54+
55+
<RequestSchema
56+
title={"Body"}
57+
body={undefined}
58+
>
59+
60+
</RequestSchema>
61+
62+
<StatusCodes
63+
id={undefined}
64+
label={undefined}
65+
responses={{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}}}
66+
>
67+
68+
</StatusCodes>
69+
70+
71+
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
---
2+
id: estimate-gas-using-get
3+
title: "Estimate gas"
4+
description: "Estimate gas"
5+
sidebar_label: "Estimate gas"
6+
hide_title: true
7+
hide_table_of_contents: true
8+
api: eJydlk1v2zAMhv9KwNNWaHHa9aRbsaVFsaEttvVUBINiM7Y2W1Iluh8L9N8H+iNzk84NcjIcvXxemiKJrIFUHkDewQVSMbnx9ukZFgKsQ69IW3OZgQQMpCtFeKHCbdAmv5j/AAFOeVUhoef4NRhVIUhQTv/GZxCgDUi4r9HzS4Yh9doxcajxeF9rjxlI8jUKCGmBlQK5Bnp2TAvktckhRrExyBSpcXyn2Ae28rYah3WKfWC5CuOsVrAn6sbrFN/k9ap9oGTHcc35IVfyoMr6jVR7yf9xC/YOzpqAgc9PZjN+vMRcfwEBqTWEhvj0KDnixw7VLn9hShBjjAJOZ8e7pFujaiqs138we8FsIz7uRpxbv9RZhuYV+emu/MrS5NzWZpset0sz76Zr0rZHhVRYnrocqZkyKkBCopxOcqQiQSp+DgaSa4r+oZ/C2pcgoSByQSaJdWiU09PUesyUnVqfJ8CV1mZlm3JpKrleZ05PPtu0rtBQM/c7F/iagtBX4Xr1Hf0Dd6GE2htJlnMqdYomIHt0TXLmVFrg5GQ6AzFIUybJ4+PjVDWnTYJdaEi+Xn6aX32ff+CQKIC/sc3luP3B2UCVMgOPrVK++IJNbxA+UeJKpQ1DmkzWXZnveDWB4NIXIGC71AsBhQ3EuvV6qQLe+jJG/rlter6ATAe1LHl+VqoMuJPEphXg3bdu1N5PNgvx1RT5aLA021GSADyB+9t1W3HEoVMcyO8W5Qi/UxzIb690BN8KDqf3q3Tcolcd6DO49Gbdjpg15wfa9Ot2BN9L/jks+MVrtgB5t4gCClQZ+qav26CzNEVHgyhewBy42Vr83yDGv6i+zWI=
9+
sidebar_class_name: "get api-method"
10+
info_path: docs/api/mainnet/api-documentation
11+
custom_edit_url: null
12+
---
13+
14+
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
15+
import ParamsDetails from "@theme/ParamsDetails";
16+
import RequestSchema from "@theme/RequestSchema";
17+
import StatusCodes from "@theme/StatusCodes";
18+
import OperationTabs from "@theme/OperationTabs";
19+
import TabItem from "@theme/TabItem";
20+
import Heading from "@theme/Heading";
21+
22+
<Heading
23+
as={"h1"}
24+
className={"openapi__heading"}
25+
children={"Estimate gas"}
26+
>
27+
</Heading>
28+
29+
<MethodEndpoint
30+
method={"get"}
31+
path={"/api/geth/eth_estimateGas"}
32+
context={"endpoint"}
33+
>
34+
35+
</MethodEndpoint>
36+
37+
38+
39+
Estimate gas
40+
41+
<Heading
42+
id={"request"}
43+
as={"h2"}
44+
className={"openapi-tabs__heading"}
45+
children={"Request"}
46+
>
47+
</Heading>
48+
49+
<ParamsDetails
50+
parameters={[{"name":"apikey","in":"query","description":"apikey","required":true,"schema":{"type":"string"}},{"name":"data","in":"query","description":"data","schema":{"type":"string"}},{"name":"from","in":"query","description":"from","schema":{"type":"string"}},{"name":"gas","in":"query","description":"gas","schema":{"type":"string"}},{"name":"gasPrice","in":"query","description":"gasPrice","schema":{"type":"string"}},{"name":"to","in":"query","description":"to","required":true,"schema":{"type":"string"}},{"name":"value","in":"query","description":"value","schema":{"type":"string"}}]}
51+
>
52+
53+
</ParamsDetails>
54+
55+
<RequestSchema
56+
title={"Body"}
57+
body={undefined}
58+
>
59+
60+
</RequestSchema>
61+
62+
<StatusCodes
63+
id={undefined}
64+
label={undefined}
65+
responses={{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}}}
66+
>
67+
68+
</StatusCodes>
69+
70+
71+
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
---
2+
id: eth-call-using-get
3+
title: "Get transaction receipt"
4+
description: "Get transaction receipt"
5+
sidebar_label: "Get transaction receipt"
6+
hide_title: true
7+
hide_table_of_contents: true
8+
api: eJydVU1P3DAQ/SvRnFrkbhbKKTdEAaFWULXlhFbVrDObuHVsY0/46Cr/vZokrHZZ2FJOke03742fZyZLYKwSFNdwRlxnX6O/f4CZAh8oIhvvzksogLg+RmuvknHV2ckPUBAwYkNMUWKX4LAhKACD+U0PoMA4KOCmpSiLkpKOJgjbOibSTWsilVBwbElB0jU1CMUS+CEIW+JoXAVdp1YCJTLuph8RryFjrHZzDYCXqAS9wNYyFGCRKfEmu/8Huf8vD2YCTsG7REnOD6ZT+WxyXn4GBdo7JsdyupfvyWeL1c9/kZZ0u07B4XR/m+nKYcu1j+YPlRucQ8TH7YhTH+emLMk9Az/chl94zk59656yd099OiPOOKJLqGUni6TJBAYFDXHtpTwr4r4kuYYCcgwmr4jrnLj+qdFaeUOKt4+12kYLBdTMIRV57gM5DGaifaQS/cTHKgdx27iF7y0zbMWzo2CyT163DTnuO2PrRZ9DMMUmXS6+U7w1Wmja6Ar2CRRYo8klEo2xZI4C6pqyg8kU1FqaRZ7f3d1NsD/tExxDU/7l/Pjk4vvJBwnpFMgdh1z2h43gEzfo1jRetnPjMqtSYbrnPFg0Tvj6pJaj1dfSy6DE/hoUrOyeKah9YgEsl3NMdBVt18n20AnyCKVJOLdS+Au0ibbUVyUB776NPfI+W42OZ3OTo7Xxcou2FRBIT75ebpwfOxRGxBv5h5myg34AvJF9zax+vuzS8RsyM1lEIzpQXM86BTVhSbF/rSHiSGvqK+UxSsaLBK4aUf4NXfcXhyQfpA==
9+
sidebar_class_name: "get api-method"
10+
info_path: docs/api/mainnet/api-documentation
11+
custom_edit_url: null
12+
---
13+
14+
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
15+
import ParamsDetails from "@theme/ParamsDetails";
16+
import RequestSchema from "@theme/RequestSchema";
17+
import StatusCodes from "@theme/StatusCodes";
18+
import OperationTabs from "@theme/OperationTabs";
19+
import TabItem from "@theme/TabItem";
20+
import Heading from "@theme/Heading";
21+
22+
<Heading
23+
as={"h1"}
24+
className={"openapi__heading"}
25+
children={"Get transaction receipt"}
26+
>
27+
</Heading>
28+
29+
<MethodEndpoint
30+
method={"get"}
31+
path={"/api/geth/eth_call"}
32+
context={"endpoint"}
33+
>
34+
35+
</MethodEndpoint>
36+
37+
38+
39+
Get transaction receipt
40+
41+
<Heading
42+
id={"request"}
43+
as={"h2"}
44+
className={"openapi-tabs__heading"}
45+
children={"Request"}
46+
>
47+
</Heading>
48+
49+
<ParamsDetails
50+
parameters={[{"name":"apikey","in":"query","description":"apikey","required":true,"schema":{"type":"string"}},{"name":"data","in":"query","description":"data","schema":{"type":"string"}},{"name":"tag","in":"query","description":"tag","schema":{"type":"string","default":"latest"}},{"name":"to","in":"query","description":"to","required":true,"schema":{"type":"string"}}]}
51+
>
52+
53+
</ParamsDetails>
54+
55+
<RequestSchema
56+
title={"Body"}
57+
body={undefined}
58+
>
59+
60+
</RequestSchema>
61+
62+
<StatusCodes
63+
id={undefined}
64+
label={undefined}
65+
responses={{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}}}
66+
>
67+
68+
</StatusCodes>
69+
70+
71+
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
---
2+
id: get-balance-using-get
3+
title: "Get CORE balance by address"
4+
description: "Get CORE balance by address"
5+
sidebar_label: "Get CORE balance by address"
6+
hide_title: true
7+
hide_table_of_contents: true
8+
api: eJylVE1v2zAM/SsGTxugxduOumVdUBQYVqBdT0UQMDZjC7MlVaKTBYb++8DYSZMlDYbtZkvk+yCf3QNjFUE/w7QoXGc5wlyB8xSQjbN3JWioiL9gg7agp2hsdTv7AQo8BmyJKUhzDxZbAg1YloFiBAXGggaPXIOCkmIRjBfAk5pAL50JVILm0JGCWNTUIugeeOsFLnIwtoKU1CuDNz9puyd46Shszxn2Nf9CwFhdRx8K3oKS6hV2DYOGBpkiQ0rzPzFuibOb+4dZthwGmy232etcWuLajZPfjZpr0JCjNzmOW8oLF2gxdi+W28XYnffjQxKNFNb7BXWhAQ01s486z50ni95MBKVEN3GhykFkGrtyO1OGG3E19Sb76oquJcu7RJyN41IFU2jj/eqRwtoUAtMFq9mJt8YUZCMJxzjwqceipuzz5COoI5k6zzebzQR3tzuBY2vMv93dzL4/zj5IS1IgHgctn4YD7yK3aI84rs/7xNBhoUy/OPcNGiuYO2H9uItniRgo2G8DFLyxD1Cg949zBbWLLO19v8RIT6FJSY6HoMmaShNx2UhiV9hEOtNWOMtkJVzvHsZwv88Oeb+oXK6Ovok1Np0UgWT+7+mG1F8hGApe0efyEozA/4ezwxQvMo+HaE+MHSyPzWmejr4p+X2l9Bvig6+j
9+
sidebar_class_name: "get api-method"
10+
info_path: docs/api/mainnet/api-documentation
11+
custom_edit_url: null
12+
---
13+
14+
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
15+
import ParamsDetails from "@theme/ParamsDetails";
16+
import RequestSchema from "@theme/RequestSchema";
17+
import StatusCodes from "@theme/StatusCodes";
18+
import OperationTabs from "@theme/OperationTabs";
19+
import TabItem from "@theme/TabItem";
20+
import Heading from "@theme/Heading";
21+
22+
<Heading
23+
as={"h1"}
24+
className={"openapi__heading"}
25+
children={"Get CORE balance by address"}
26+
>
27+
</Heading>
28+
29+
<MethodEndpoint
30+
method={"get"}
31+
path={"/api/accounts/core_balance_by_address/{address}"}
32+
context={"endpoint"}
33+
>
34+
35+
</MethodEndpoint>
36+
37+
38+
39+
Get CORE balance by address
40+
41+
<Heading
42+
id={"request"}
43+
as={"h2"}
44+
className={"openapi-tabs__heading"}
45+
children={"Request"}
46+
>
47+
</Heading>
48+
49+
<ParamsDetails
50+
parameters={[{"name":"address","in":"path","description":"address","required":true,"schema":{"type":"string"}},{"name":"apikey","in":"query","description":"apikey","required":true,"schema":{"type":"string"}},{"name":"tag","in":"query","description":"tag","schema":{"type":"string","default":"latest"}}]}
51+
>
52+
53+
</ParamsDetails>
54+
55+
<RequestSchema
56+
title={"Body"}
57+
body={undefined}
58+
>
59+
60+
</RequestSchema>
61+
62+
<StatusCodes
63+
id={undefined}
64+
label={undefined}
65+
responses={undefined}
66+
>
67+
68+
</StatusCodes>
69+
70+
71+
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
---
2+
id: get-block-by-number-using-get
3+
title: "Get block by number"
4+
description: "Get block by number"
5+
sidebar_label: "Get block by number"
6+
hide_title: true
7+
hide_table_of_contents: true
8+
api: eJydVMFu2zAM/RWDp63Q4rTrybd0a4NiQ1usyykIBtlmbK22pEp02yzQvxe0s8y1g6DYyZD5+B5FPXILJAsPyRLmSGV058zLBlYCjEUnSRl9nUMCBdJFZbKHi81NU6foFl7pYn75EwRY6WSNhI5JtqBljZCAtOoBNyBAaUjgsUHHhxx95pRl2j7G4WOjHOaQkGtQgM9KrCUkW6CNZTZPTukCQhB7gdSYCqW+Y/XjMgPkiHwXb/PWsqmoK6MvRrI4rtEB3n+PFYO9Ndqj5/jZdMqft6S330BAZjShJo6exCf8GbGa9DdmBCGEIOB8ejpmWmjZUGmc+oP5G84u4/M448q4VOU56gPw8zH8xlB0ZRo9ZA/DRs2RopSdFKWbSLdeAgE1Uml2PmstRSUkEEur4gKpjJHKX0ML8lOie/rru8ZVkEBJZH0Sx8aillZNMuMwl2ZiXBEDd13ptWlbp6ji3s2sir6arKlRU2v30dMeQhC62t+u79E9qYxpGqcTMh4EVCpD7ZE1duaZWZmVGJ1NpiB6ZSZx/Pz8PJFttC1wl+rj79dfLm/uLz9xShDAd+xqOe1+WOOplrqncbitby6ytwvhC8W2kkozV1vQdtfyJc8kCH6GEgQcbPtKQGk8MXi7TaXHhatC4N/daPBj5MrLtOJBWMvK46iSvUXgw4/dzHyM9uvgYJ0c6q2MJ1k1DAKe0vfLDXbBEaUB8j/1etfrVsQRxQ7wT2jFB6dYCZLlKggoUebo2g53KbMsQ0u9LF4RnLgfKN7RIbwCrjH96w==
9+
sidebar_class_name: "get api-method"
10+
info_path: docs/api/mainnet/api-documentation
11+
custom_edit_url: null
12+
---
13+
14+
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
15+
import ParamsDetails from "@theme/ParamsDetails";
16+
import RequestSchema from "@theme/RequestSchema";
17+
import StatusCodes from "@theme/StatusCodes";
18+
import OperationTabs from "@theme/OperationTabs";
19+
import TabItem from "@theme/TabItem";
20+
import Heading from "@theme/Heading";
21+
22+
<Heading
23+
as={"h1"}
24+
className={"openapi__heading"}
25+
children={"Get block by number"}
26+
>
27+
</Heading>
28+
29+
<MethodEndpoint
30+
method={"get"}
31+
path={"/api/geth/eth_getBlockByNumber"}
32+
context={"endpoint"}
33+
>
34+
35+
</MethodEndpoint>
36+
37+
38+
39+
Get block by number
40+
41+
<Heading
42+
id={"request"}
43+
as={"h2"}
44+
className={"openapi-tabs__heading"}
45+
children={"Request"}
46+
>
47+
</Heading>
48+
49+
<ParamsDetails
50+
parameters={[{"name":"apikey","in":"query","description":"apikey","required":true,"schema":{"type":"string"}},{"name":"booleanParam","in":"query","description":"booleanParam","schema":{"type":"boolean","default":true}},{"name":"tag","in":"query","description":"tag","required":true,"schema":{"type":"string"}}]}
51+
>
52+
53+
</ParamsDetails>
54+
55+
<RequestSchema
56+
title={"Body"}
57+
body={undefined}
58+
>
59+
60+
</RequestSchema>
61+
62+
<StatusCodes
63+
id={undefined}
64+
label={undefined}
65+
responses={{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}}}
66+
>
67+
68+
</StatusCodes>
69+
70+
71+

0 commit comments

Comments
 (0)