eth_getCode
Returns code at a given address.
Parameters
Address
.Quantity
ortag
- choose 1 of the following options:A hexadecimal block number.
"earliest"
- the earliest/genesis block."latest"
- the latest mined block."finalized"
- the latest finalized block."pending"
- the pending state/transactions.
Sample Request
curl https://lb.nodies.app/v1/<INSERT URL> \
-H "x-api-key: <API-KEY>" \
-X POST \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "eth_getCode",
"params": [
"0xEf6CF74aB76bB665Bd9Fe4EbB8507725D0d96092",
"0x1575288"
],
"id": 1
}'
Sample Response
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x"
}
Last updated