Get Events
Use the event command to fetch a single or multiple events in a specific range of blocks. You can provide start and end block height range, but also specify number of the latest blocks to be used to search for specified event. Events are fetched concurrently by using multiple workers which optionally you can also control by specifying the flags.
_10flow events get <event_name>
Example Usage
Get the event by name A.0b2a3299cc857e29.TopShot.Deposit
from the last 20 blocks on mainnet.
_25> flow events get A.0b2a3299cc857e29.TopShot.Deposit --last 20 --network mainnet_25_25 Events Block #12913388:_25 Index 2_25 Type A.0b2a3299cc857e29.TopShot.Deposit_25 Tx ID 0a1e6cdc4eeda0e23402193d7ad5ba01a175df4c08f48fa7ac8d53e811c5357c_25 Values_25 id (UInt64) 3102159_25 to ({}?) 24214cf0faa7844d_25_25 Index 2_25 Type A.0b2a3299cc857e29.TopShot.Deposit_25 Tx ID 1fa5e64dcdc8ed5dad87ba58207ee4c058feb38fa271fff659ab992dc2ec2645_25 Values_25 id (UInt64) 5178448_25 to ({}?) 26c96b6c2c31e419_25_25 Index 9_25 Type A.0b2a3299cc857e29.TopShot.Deposit_25 Tx ID 262ab3996bdf98f5f15804c12b4e5d4e89c0fa9b71d57be4d7c6e8288c507c4a_25 Values_25 id (UInt64) 1530408_25 to ({}?) 2da5c6d1a541971b_25_25...
Get two events A.1654653399040a61.FlowToken.TokensDeposited
and A.1654653399040a61.FlowToken.TokensWithdrawn
in the block height range on mainnet.
_34> flow events get \_34 A.1654653399040a61.FlowToken.TokensDeposited \_34 A.1654653399040a61.FlowToken.TokensWithdrawn \ _34 --start 11559500 --end 11559600 --network mainnet_34 _34 Events Block #17015045:_34 Index 0_34 Type A.1654653399040a61.FlowToken.TokensWithdrawn_34 Tx ID 6dcf60d54036acb52b2e01e69890ce34c3146849998d64364200e4b21e9ac7f1_34 Values_34 - amount (UFix64): 0.00100000 _34 - from (Address?): 0x9e06eebf494e2d78 _34_34 Index 1_34 Type A.1654653399040a61.FlowToken.TokensWithdrawn_34 Tx ID 6dcf60d54036acb52b2e01e69890ce34c3146849998d64364200e4b21e9ac7f1_34 Values_34 - amount (UFix64): 0.00100000 _34 - from (Never?): nil _34_34 Events Block #17015047:_34 Index 0_34 Type A.1654653399040a61.FlowToken.TokensWithdrawn_34 Tx ID 24979a3c0203f514f7f5822cc8ae7046e24f25d4a775bef697a654898fb7673e_34 Values_34 - amount (UFix64): 0.00100000 _34 - from (Address?): 0x18eb4ee6b3c026d2 _34_34 Index 1_34 Type A.1654653399040a61.FlowToken.TokensWithdrawn_34 Tx ID 24979a3c0203f514f7f5822cc8ae7046e24f25d4a775bef697a654898fb7673e_34 Values_34 - amount (UFix64): 0.00100000 _34 - from (Never?): nil