eth_getCode

Returns the byte code at a given address (if it's a smart contract).

Parameters

  • DATA, 20 Bytes - Address from which to retreive byte code
  • TAG - Integer block number or one of "earliest", "latest" or "pending"

Returns

  • DATA - The byte code (if any) found at the given address
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Defaults to demo
Body Params
integer
required
Defaults to 1
string
required
Defaults to 2.0
string
required
Defaults to eth_getCode
params
array
required
Defaults to 0x00000000006c3852cbef3e08e8df289169ede581,latest
Params*
Response

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json