eth_getCode: Code at an address.

Description Usage Arguments Value See Also Examples

View source: R/eth.R

Description

eth_getCode returns code at a given address.

Usage

1
eth_getCode(address, number = "latest")

Arguments

address

Address - Address to get the code.

number

Integer|Tag - Block number, or the string 'latest', 'earliest' or 'pending'.

Value

Data - Code from the given address.

See Also

Other eth functions: eth_accounts, eth_blockNumber, eth_call, eth_coinbase, eth_estimateGas, eth_gasPrice, eth_getBalance, eth_getBlockByHash, eth_getBlockByNumber, eth_getBlockTransactionCountByHash, eth_getBlockTransactionCountByNumber, eth_getFilterChanges, eth_getFilterLogs, eth_getLogs, eth_getProof, eth_getStorageAt, eth_getTransactionByBlockHashAndIndex, eth_getTransactionByBlockNumberAndIndex, eth_getTransactionByHash, eth_getTransactionCount, eth_getTransactionReceipt, eth_getUncleByBlockHashAndIndex, eth_getUncleByBlockNumberAndIndex, eth_getUncleCountByBlockHash, eth_getUncleCountByBlockNumber, eth_getWork, eth_hashrate, eth_mining, eth_newBlockFilter, eth_newFilter, eth_newPendingTransactionFilter, eth_protocolVersion, eth_sendRawTransaction, eth_sendTransaction, eth_sign, eth_submitHashrate, eth_submitWork, eth_syncing, eth_uninstallFilter, gethr, personal_sendTransaction

Examples

1
2
3
eth_getCode('0xcaf9a0356ddfa779fdbb55c45b22d35673550f30')
eth_getCode('0xcaf9a0356ddfa779fdbb55c45b22d35673550f30', 'earliest')
eth_getCode('0xcaf9a0356ddfa779fdbb55c45b22d35673550f30', 25)

gethr documentation built on May 2, 2019, 7:03 a.m.