eth_getCode
Returns the compiled smart contract code, if any, at a given address.
Example
ADDRESS
- A string representing the address to check for code.BLOCK PARAMETER
- Anint
block number in the form of hex, appended with 0x such as0x6D7FE0
, or pre-defined stringslatest
,earliest
,pending
.
Web3API's Composer accepts int
block numbers, which will be auto-converted to a hex representation before being sent to a node.
Last updated