Nonce Operations
resource: nonce — durable nonce account inspection. No credential required.
What durable nonces are for: A normal Solana transaction embeds a recent
blockhash that expires after roughly a minute, which is why offline/async signing (e.g. a
hardware wallet flow, or a transaction built now but broadcast later) doesn't work well with regular
blockhashes. A nonce account holds a durable value that doesn't expire until
explicitly advanced, letting you build and sign a transaction well ahead of when it's actually
submitted.
get
Reads a nonce account's current stored value and authority.
| Field | Type | Required | Description |
|---|---|---|---|
nonceAccountAddress | text | ✓ Yes | Base58 address of the nonce account. |
cluster | select | No | See Clusters. |
Example response:
{
"nonceAccountAddress": "Nnc1...vwx",
"nonceValue": "8bYh...currentNonce",
"authority": "Own4...jkl"
}
| Response Field | Meaning |
|---|---|
nonceValue | The current durable nonce — substitute this for a recent blockhash when building a transaction meant for later submission. |
authority | The address authorized to advance or withdraw from this nonce account. |
Hand-decoded layout: Like
staking/getAccount, this operation decodes the
nonce account's raw bytes against the runtime's documented layout by hand — there is no
Solnet-provided nonce-account decoder.
Missing address: Omitting
nonceAccountAddress returns VAL_MISSING_NONCE_ACCOUNT.