PreiseGitHubDashboard

Solana

blockNotification5 Credits

Message pushed by the node to a blockSubscribe subscriber for each new block; not a callable method.

Netzwerk: solana

Parameter

Keine Parameter erforderlich (leeres params-Array).

Rückgabewert

Typ

Object

params.result is { context: { slot }, value: { slot, block, err } }: block has the same structure as getBlock (or null when err is set); err is null, "BlockStoreError" or an object such as { UnsupportedTransactionVersion: 0 }. params.subscription is the subscription id.