Skip to main content

resolveRefBlockId

Resolves the reference block ID for a transaction by querying the latest block from the network.

Import

You can import the entire package and access the function:


_10
import * as sdk from "@onflow/sdk"
_10
_10
sdk.resolveRefBlockId(opts)

Or import directly the specific function:


_10
import { resolveRefBlockId } from "@onflow/sdk"
_10
_10
resolveRefBlockId(opts)

Parameters

opts (optional)

  • Type: object
  • Description: Optional configuration parameters

Returns

function


Rate this page