getSignatureStatuses RPC Method
Returns the statuses of a list of signatures. Each signature must be a txid, the first signature of a transaction.
Unless the searchTransactionHistory
configuration parameter is included,
this method only searches the recent status cache of signatures, which retains
statuses for all active slots plus MAX_RECENT_BLOCKHASHES
rooted slots.
params
An array of transaction signatures to confirm, as base-58 encoded strings (up to a maximum of 256)
Configuration object containing the following fields:
result
An array of RpcResponse<object>
consisting of either null
or an object
containing the following fields:
$ curl https://api.devnet.solana.com -s -X \> POST -H "Content-Type: application/json" -d '> {> "jsonrpc": "2.0",> "id": 1,> "method": "getSignatureStatuses",> "params": [> [> "5VERv8NMvzbJMEkV8xnrLkEaWRtSz9CosKDYjCJjBRnbJLgp8uirBgmQpjKhoR4tjF3ZpRzrFmBV6UjKdiSZkQUW"> ],> {> "searchTransactionHistory": true> }> ]> }> '
{"jsonrpc": "2.0","result": {"context": {"slot": 82},"value": [{"slot": 48,"confirmations": null,"err": null,"status": {"Ok": null},"confirmationStatus": "finalized"},null]},"id": 1}
$ curl https://api.devnet.solana.com -s -X \> POST -H "Content-Type: application/json" -d '> {> "jsonrpc": "2.0",> "id": 1,> "method": "getSignatureStatuses",> "params": [> [> "5VERv8NMvzbJMEkV8xnrLkEaWRtSz9CosKDYjCJjBRnbJLgp8uirBgmQpjKhoR4tjF3ZpRzrFmBV6UjKdiSZkQUW"> ],> {> "searchTransactionHistory": true> }> ]> }> '
params
An array of transaction signatures to confirm, as base-58 encoded strings (up to a maximum of 256)
Configuration object containing the following fields:
result
{"jsonrpc": "2.0","result": {"context": {"slot": 82},"value": [{"slot": 48,"confirmations": null,"err": null,"status": {"Ok": null},"confirmationStatus": "finalized"},null]},"id": 1}
An array of RpcResponse<object>
consisting of either null
or an object
containing the following fields:
Is this page helpful?