Check out our new component library - build.abs.xyz!
cURL
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
JSON-RPC version
The method to call
Address and block parameter
Request identifier
Returns the code at the given address
"2.0"
1
The code at the given address
"0x"
Was this page helpful?