GetAll
Get a list of all the events emitted from the contract during a specified time period.
By default, the method gets all events from block 0
to the latest block, in descending order.
A struct containing the fromBlock
and toBlock
numbers for the time period to get events for.
The order
field indicates the ordering of the events; desc
(descending) or asc
(ascending).
The default fromBlock
is 0
and the default toBlock
is latest
.
Returns a list of ContractEvent
structs containing the following properties: