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
toBlock numbers for the time period to get events for.
order field indicates the ordering of the events;
desc (descending) or
0 and the default
Returns a list of
ContractEvent structs containing the following properties: