Skip to main content

resolveProposerSequenceNumber

Resolves the sequence number for the proposer account by querying the blockchain.

Import

You can import the entire package and access the function:


_10
import * as sdk from "@onflow/sdk"
_10
_10
sdk.resolveProposerSequenceNumber(nodeConfig)

Or import directly the specific function:


_10
import { resolveProposerSequenceNumber } from "@onflow/sdk"
_10
_10
resolveProposerSequenceNumber(nodeConfig)

Parameters

nodeConfig

  • Type:

_10
interface NodeConfig {
_10
node: string
_10
}

Returns


_10
(ix: Interaction) => Promise<Interaction>

A function that resolves the proposer sequence number for an interaction


Rate this page