Skip to main content

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

atLatestBlock

A builder function that returns a partial interaction to query the latest block with the given finality state

Import


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

Parameters

isSealed (optional)

  • Type: boolean
  • Description: Block finality state, defaults to latest executed block ("soft-finality"), set to true for sealed blocks ("hard-finality")

Returns

InteractionBuilderFn


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


Rate this page