Skip to main content

Doc autogenerated from onflow/sdk/src/build/build-get-events.ts

getEvents

A builder function that returns the interaction to get events

Import


_10
import { getEvents } from "@onflow/sdk"

Parameters

eventType

  • Type: string
  • Description: The type of event to get

start

  • Type: number
  • Description: The start block ID or height

end

  • Type: number
  • Description: The end block ID or height

Returns

InteractionBuilderFn


_10
export type InteractionBuilderFn = (
_10
ix: Interaction
_10
) => Interaction | Promise<Interaction>


Rate this page