文档
定价GitHub控制台

Solana

blockNotification5 额度

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

网络: solana

参数

无需参数(params 数组为空)。

返回值

类型

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.