View Source Ethex.Blockchain.HistoryMethod (ethex v0.1.3)

Fetches historical records of every block back to genesis. This is like one large append-only file, and includes all block headers, block bodies, uncle blocks, and transaction receipts.

Link to this section Summary

Functions

Polling method for a filter, which returns an array of logs which occurred since last poll.

使用 filter_id 获取自 from 以来的 logs

Returns an array of all logs matching a given filter object.

Creates a filter object, based on filter options, to notify when the state changes (logs). To check if the state has changed, call eth_getFilterChanges.

Link to this section Functions

Link to this function

eth_get_filter_changes(rpc, filter_id)

View Source

Polling method for a filter, which returns an array of logs which occurred since last poll.

REFERENCE: https://ethereum.stackexchange.com/questions/41129/web3-eth-getfilterchangesweb3-filter-filter-id-throws-filter-not-found

Link to this function

eth_get_filter_logs(rpc, filter_id)

View Source

使用 filter_id 获取自 from 以来的 logs

Link to this function

eth_get_logs(rpc, filter)

View Source

Returns an array of all logs matching a given filter object.

Link to this function

eth_new_filter(rpc, filter)

View Source

Creates a filter object, based on filter options, to notify when the state changes (logs). To check if the state has changed, call eth_getFilterChanges.

%{ address: ["0x4aF359FC3dd065F185739EC2f8F444A746A912f2"], fromBlock: "0x16DF136", toBlock: "latest" }