Skip to content
Subscribe to receive status notifications for the transaction with the given signature.
This 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
string
required
Transaction signature, as a base-58 encoded string.
The signature must be the first signature from the transaction.
​config
object
Optional configuration object.

​Result

​result
integer
Subscription id. Pass this to signatureUnsubscribe if you cancel the subscription before it fires.

​Notification format

Notifications are delivered as signatureNotification. 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" when enableReceivedNotification is true and the RPC first receives the signature
Terminal confirmation notification:
​jsonrpc
string
Always "2.0".
​method
string
Always "signatureNotification".
​params
object
Notification wrapper with the signature status payload and the subscription id.
This early notification is only emitted when enableReceivedNotification: true.
​jsonrpc
string
Always "2.0".
​method
string
Always "signatureNotification".
​params
object
Notification wrapper with the early received-signature payload and the subscription id.