fromBlock property

dynamic fromBlock

The starting block (inclusive) to search for logs matching the filter criteria.

Implementation

external dynamic get fromBlock;
void fromBlock=(dynamic blockTag)

"latest" - The most recently mined block "earliest" - Block #0 "pending" - The block currently being prepared for mining; not all

Or an int block number. Positive number mean block at that height. Negative mean block that many block ago.

Or a Hex String block at that height.

Implementation

external set fromBlock(dynamic blockTag);