Skip to main content
POST
Returns code at a given address

Body

number
Serves as a unique identifier for the request
string
Indicates the version of JSON-RPC being used
string
Represents the name of the remote procedure or method to be called
array
Contains the list of parameters passed to the remote method
string
A string representing the address (20 bytes) of the code
string
A hexadecimal block number, or the string “latest”, “earliest” or “pending” or the hash (32 bytes) of a block

Response

number
Returns unique identifier for the request
string
Returns the version of JSON-RPC being used
string
A hex of the code from the given address