A WebSocket nonce update message.

Received when the nonce changes for a subscribed account.

interface NonceUpdate {
    action: string;
    contract_id: TradeAccountId;
    nonce: bigint;
    onchain_timestamp?: string;
    seen_timestamp?: string;
}

Properties

action: string

The subscription action type.

contract_id: TradeAccountId

The trade account contract ID.

nonce: bigint

The new nonce value.

onchain_timestamp?: string

On-chain timestamp.

seen_timestamp?: string

Server-observed timestamp.