v1

latestOpenAPI 3.0.02026-07-26541677.9 KB
Ethereum API

eth_getCode

Returns the code stored at the given address

post/eth_getCode

Request body

jsonrpcstring required

JSON-RPC version

methodstring required

The method to call

idinteger required

Request identifier

Response

Returns the code at the given address

jsonrpcstring
idinteger
resultstring

The code at the given address

Example response

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x"
}