RPC MethodsHTTPgetSignatureStatuses

Transaction

getSignatureStatuses

Returns the statuses of a list of signatures. Each signature must be a txid, the first signature of a transaction.

Parameters

signaturesarray required

An array of transaction signatures to confirm, as base-58 encoded strings (up to 256).

configobject optional

Configuration object.

searchTransactionHistorybool

If true, a Solana node will search its ledger cache for any signatures not found in the recent status cache.

Result

array

Array of objects (or null) with slot, confirmations (u64 | null), err (object | null), and confirmationStatus.

Example

Request
JSON
curl "https://eu.fluxrpc.com?key=<your-API-key>" -s -X POST -H "Content-Type: application/json" -d '
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getSignatureStatuses",
  "params": [
    ["5VERv8NMvzbJMEkV8xnrLkEaWRtSz9CosKDYjCJjBRnbJLgp8uirBgmQpjKhoR4tjF3ZpRzrFmBV6UjKdiSZkQUW"],
    { "searchTransactionHistory": true }
  ]
}'
Response
JSON
{
"jsonrpc": "2.0",
"result": {
"context": {
"slot": 82
},
"value": [
{
"slot": 72,
"confirmations": 10,
"err": null,
"status": {
"Ok": null
},
"confirmationStatus": "finalized"
}
]
},
"id": 1
}