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
_10import { 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
_10export type InteractionBuilderFn = (_10 ix: Interaction_10) => Interaction | Promise<Interaction>