eth_getCode
Last updated
Was this helpful?
Last updated
Was this helpful?
Returns the compiled byte code of a smart contract, if any, at a given address.
address
: [Required] 20 bytes. A string representing the address of the smart contract, from which the compiled byte code will be obtained.
block parameter
: A string representing a block number, block hash, or one of the string tags latest
, earliest
, pending
, safe
, or finalized
. See the .
The compiled byte code of the smart contract at the given address.