List of examples
The best way to understand how to use the Filter API is to visit the section of examples here.
All request parameters have the format
<operator>:<field_name>. Each field of the table can be used as
field_name. See the "Response Fields" section below for possible values.
For more information on how to construct a request using the Filter API click here.
|The block number (i.e. height) of the event log.
|UNIX timestamp in seconds.
The zero value corresponds to the 1st of January 1970 at UTC, called the Unix Epoch.
|The hash of the parent block. The parent block is the block from which a block was generated.
|The mix hash of the block used in the Proof of Work algorithm.
|The block nonce value used during mining to demonstrate proof of work for a block.
|The hash of the block's uncle blocks.
|Note: After Proof-of-Stake this is 0
|Total difficulty of all blocks up until the block.
|The block's size (in bytes).
|The minimum gas price (in Gwei) that can be paid for a transaction to be included in a block. The base fee was introduced with the London Hark Fork.
|The maximum amount of gas that can be used in the block.
|The total amount of gas used by all transactions in the block.
|The number of transactions in the block.
|The address of the miner that mined the block.
|The number of uncle blocks included in the block. The maximum that can be included is two for any given block.
Press Try It to make a request and see what the response looks like. Feel free to try different values for each request parameter.
Note: The below live example does not include all possible request parameters.