Source
signature_subscribeThis subscription ends after the terminal confirmation notification. If
enableReceivedNotification is true, the RPC node may send an earlier
receivedSignature notification first and keep the subscription active until
the signature reaches the requested commitment.Parameters
signature
Transaction signature, as a base-58 encoded string.
The signature must be the first signature from the transaction.
config
Optional configuration object.
Result
result
Subscription id. Pass this to
signatureUnsubscribe if you cancel
the subscription before it fires.
Notification format
Notifications are delivered assignatureNotification. The payload includes
params.result.context and params.result.value, where value is either:
{ "err": null | <transaction error> }when the signature reaches the requested commitment"receivedSignature"whenenableReceivedNotificationistrueand the RPC first receives the signature
jsonrpc
Always
"2.0".method
Always
"signatureNotification".params
Notification wrapper with the signature status payload and the subscription id.
enableReceivedNotification: true.
jsonrpc
Always
"2.0".method
Always
"signatureNotification".params
Notification wrapper with the early received-signature payload and the
subscription id.