📍ftm.filter()
Description: Creates a filter to track events or changes in the blockchain.
Parameters
Name
Type
Description
options
object
Filter options, including:
fromBlock
integer
The starting block.
toBlock
integer
The ending block.
address
string
The contract address to filter events from.
Returns
Type
Description
object
Contains block data matching the filter criteria