Parameters
Unique identifier for a blockchain network.
Request identifier used to match responses.
JSON-RPC version.
JSON-RPC method name.
Parameters for eth_getCode: [address, defaultBlock].Positional parameters for
eth_getCode:params[0]: The address.params[1]: Block identifier. Can be an integer block number or a string tag: “latest”, “earliest”, or “pending”.
Returns
The code from the given address. Example:
“0x600160008035811a818181146012578301005b601b6001356025565b8060005260206000f35b600060078202905091905056”.