curl --request POST \
--url https://api.mainnet.abs.xyz/eth_getCode \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_getCode",
"params": [
"0x8fe5810cd78eb8d8b9abad8527dfc1265bee6c56",
"latest"
]
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x"
}
Returns the code stored at the given address
curl --request POST \
--url https://api.mainnet.abs.xyz/eth_getCode \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_getCode",
"params": [
"0x8fe5810cd78eb8d8b9abad8527dfc1265bee6c56",
"latest"
]
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x"
}
Returns the code at the given address
The response is of type object
.
Was this page helpful?