NewFilter
Creates a new filter.
Params
(1)1. query (required)
The query structure of the filter.
Addresses
addressesThe addresses of the accounts/contracts the logs for whose events should be retrieved by the filter.
BlockHash
stringThe hash of the blocks whose logs should be retrieved by the filter.
FromBlock
integerThe beginning of the range of the blocks whose logs should be retrieved by the filter.
ToBlock
integerThe end of the range of the blocks whose logs should be retrieved by the filter.
Topics
topicsThe topics of the events whose lgos should be retrieved by the filter.
Result
(filterId)string
The ID of the filter.