Skip to main content

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

getBlock

A builder function that returns the interaction to get the latest block

Import


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

Parameters

isSealed (optional)

  • Type: boolean
  • Description: Whether or not the block should be sealed

Returns

InteractionBuilderFn


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


Rate this page