signatureSubscribe - Solana

signatureSubscribe. Allows developers to subscribe to real-time updates for specific transaction signatures

signatureSubscribe - solana [Value: 10CU]
Allows to subscribe to real-time updates for specific transaction signature
Use cases

Use cases

  • Subscribe to specific transaction signature notifications
  • Monitor a transaction status in real-time
  • Receive updates for specific transaction signatures
Constraints

Constraints

  • Requires valid signature and active connection
  • Subscription may terminate unexpectedly
  • Possible delays in receiving real-time updates
Get started
Unlock Access to 50+ chains
Boost your app's speed and reliability with dRPC - get your access API key

Language

Request
Examples
wscat -c wss://solana.drpc.org \
# wait for connection
{"id":1,"jsonrpc":"2.0","method":"signatureSubscribe","params":["51y9Hf2cFzrUPDH24qvL6b6PtPMDGQSX3WwiHsSvkdfGiFTKdoJwGkvqS3gny6XNPLtUtRwGERAs45639EfR5XfT"]}
Copy
Response
200
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "subscription_id"
}
Copy

Request params

idinteger
jsonrpcstring
methodstring
Parametersobject
object
commitmentstring
Defines the level of assurance required for the data returned by the query.
  • finalized - The query returns the most recent block confirmed by the supermajority of the cluster as having reached maximum lockout, meaning the cluster has recognized this block as finalized.
  • confirmed - The query returns the most recent block that has been voted on by the supermajority of the cluster.
  • processed - The query returns its most recent block, though the block may not be complete.
tx_sigstring
The transaction signature as base-58 encoded string

Response

200
Returns by the subscription, including the subscription ID and log data

Response params

object
idinteger
jsonrpcstring
resultobject