Description Usage Arguments Value See Also Examples
eth_getLogs returns an array of all logs matching a given filter
object.
1 2 | eth_getLogs(from_block = "earliest", to_block = "latest", address,
topics = -1, block_hash = -1)
|
from_block |
Integer|Tag - Block number, or the string 'earliest', 'latest' or 'pending'. |
to_block |
Integer|Tag - Block number, or the string 'earliest', 'latest' or 'pending'. |
address |
Address - Contract address or a list of addresses from which logs should originate. |
topics |
Array of Data - Topics are order-dependent. Each topic can also be an array of DATA with 'or' options. |
block_hash |
Hash Single block to return logs. If |
Hash - A filter Id.
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_getCode,
eth_getFilterChanges,
eth_getFilterLogs,
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
1 2 3 4 | eth_getLogs(0, 100, '0xcaf9a0356ddfa779fdbb55c45b22d35673550f30',
list('0x977f31fe2eae427d123315e068c90016b9f8c44b9c8d0818a740f06d2dc10f95',
'0x0000000000000000000000000000000000000000000000000000000000000003'))
eth_getLogs(address = '0x8655bd257db96eb2aca7154f845d6b1d67689219')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.