resolveProposerSequenceNumber
Resolves the sequence number for the proposer account by querying the blockchain.
Import
You can import the entire package and access the function:
_10import * as sdk from "@onflow/sdk"_10_10sdk.resolveProposerSequenceNumber(nodeConfig)
Or import directly the specific function:
_10import { resolveProposerSequenceNumber } from "@onflow/sdk"_10_10resolveProposerSequenceNumber(nodeConfig)
Parameters
nodeConfig
- Type:
_10interface NodeConfig {_10 node: string_10}
Returns
_10(ix: Interaction) => Promise<Interaction>
A function that resolves the proposer sequence number for an interaction