Event related functions
More...
|
static async Task< List< FlowEventGroup > > | GetForBlockHeightRange (string type, ulong startHeight, ulong endHeight) |
| Get all event groups (each of which can contain several events) of a given type in a given block height range More...
|
|
static async Task< List< FlowEventGroup > > | GetForBlockIds (string type, List< string > blockIds) |
| Get all event groups (each of which can contain several events) of a given type in a given list of blocks More...
|
|
◆ GetForBlockHeightRange()
static async Task< List< FlowEventGroup > > DapperLabs.Flow.Sdk.Events.GetForBlockHeightRange |
( |
string |
type, |
|
|
ulong |
startHeight, |
|
|
ulong |
endHeight |
|
) |
| |
|
inlinestatic |
Get all event groups (each of which can contain several events) of a given type in a given block height range
- Parameters
-
type | The type of event to query for |
startHeight | The block height at which to begin searching |
endHeight | The block height at which to end searching |
- Returns
- A Task that resolves to a FlowEventGroup
◆ GetForBlockIds()
static async Task< List< FlowEventGroup > > DapperLabs.Flow.Sdk.Events.GetForBlockIds |
( |
string |
type, |
|
|
List< string > |
blockIds |
|
) |
| |
|
inlinestatic |
Get all event groups (each of which can contain several events) of a given type in a given list of blocks
- Parameters
-
type | The type of event to query for |
blockIds | A List of strings containing the blocks to search. Must not exceed 50 block ids. |
- Returns
- A Task that resolves to a List of FlowEventGroups