Doc autogenerated from onflow/sdk/src/build/build-get-latest-block.ts
getLatestBlock
A builder function that returns the interaction to get the latest block
Import
_10import { getLatestBlock } from "@onflow/sdk"
Parameters
isSealed
(optional)
- Type:
boolean
- Description: Whether or not the block should be sealed
Returns
InteractionBuilderFn
_10export type InteractionBuilderFn = (_10 ix: Interaction_10) => Interaction | Promise<Interaction>