Added order field for streaming calls and events in reverse order. For example, to stream two batches of calls to the WETH contract from the latest block, in reverse order:
contract = TransposeDecodedContract(
contract_address='0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2',
abi_path='abi/weth-abi.json',
chain='ethereum',
api_key=api_key
)
stream = contract.stream_calls(order='desc')
stream.next(10) # latest 10 calls
stream.next(10) # the 10 calls before thatThis is helpful for creating dynamic user experiences or views of decoded data where you want to iteratively paginate over the latest activity. Happy building!