Doc autogenerated from onflow/sdk/src/block/block.ts
block
Returns the latest block (optionally sealed or not), by id, or by height
Import
_10import { block } from "@onflow/sdk"
Parameters
options
(optional)
- Type:
BlockQueryOptions
_10interface BlockQueryOptions {_10 sealed?: boolean_10 height?: number_10 id?: string_10}
opts
(optional)
- Type:
object
- Description: Optional parameters