Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
Geth/Parity Proxy

eth_getCode

Get the code stored at an address.

GET
/
v2
/
api
curl "https://api.etherscan.io/v2/api?chainid=1&module=proxy&action=eth_getCode&address=0xf75e354c5edc8efed9b59ee9f67a80845ade7d0c&tag=latest&apikey=YourApiKeyToken"
{  "jsonrpc":"2.0",  "id":1,  "result":"0x3660008037602060003660003473273930d21e01ee25e4c219b63259d214872220a261235a5a03f21560015760206000f3"}

Query Parameters

apikey
string
default:"YourApiKeyToken"
Your Etherscan API key.
chainid
string
default:"1"
Chain ID to query, eg1 for Ethereum,8453 for Base from oursupported chains.
module
string
default:"proxy"
Set toproxy for this endpoint.
action
string
default:"eth_getCode"
Set toeth_getCode for this endpoint.
address
string
default:"0xf75e354c5edc8efed9b59ee9f67a80845ade7d0c"
The address to query.
tag
string
default:"latest"
Uselatest,earliest,pending, or a block number in hex.
curl "https://api.etherscan.io/v2/api?chainid=1&module=proxy&action=eth_getCode&address=0xf75e354c5edc8efed9b59ee9f67a80845ade7d0c&tag=latest&apikey=YourApiKeyToken"
{  "jsonrpc":"2.0",  "id":1,  "result":"0x3660008037602060003660003473273930d21e01ee25e4c219b63259d214872220a261235a5a03f21560015760206000f3"}
⌘I

[8]ページ先頭

©2009-2025 Movatter.jp