Solana
blockNotification5 créditos
Message pushed by the node to a blockSubscribe subscriber for each new block; not a callable method.
Parámetros
No se requieren parámetros (arreglo params vacío).
Valor devuelto
Tipo
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.