toBlock property

dynamic toBlock

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

Implementation

external dynamic get toBlock;
void toBlock=(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 toBlock(dynamic blockTag);