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:
_10import * as sdk from "@onflow/sdk"_10_10sdk.resolveRefBlockId(opts)
Or import directly the specific function:
_10import { resolveRefBlockId } from "@onflow/sdk"_10_10resolveRefBlockId(opts)
Parameters
opts
(optional)
- Type:
object
- Description: Optional configuration parameters
Returns
function