Parameters
- tx signaturesstring
An array of transaction signatures to confirm encoded as base-58 strings
- objectobject
The configuration object with the following fields:
- searchTransactionHistoryboolean
(default: false) If true, the search includes the entire transaction history. If false, the search only includes recent transactions in the latest confirmed block
Returns
- result
An object with the following fields:
- context
The information about the current state of the program
- apiVersion
The version of the Solana RPC API to use
- slot
An integer representing the slot for which to retrieve the fee calculator
- value
A JSON object with the following fields:
- confirmationStatus
The transaction's cluster confirmation status. It can either be processed, confirmed, or finalized
- confirmationsnumber or null
null when finalized. Non-finalized transactions can return 0 under Alpenglow; this field is not a TowerBFT confirmation-depth counter
- err
Error code if the transaction failed or null if the transaction succeeds
- slot
The slot number in which the transaction was confirmed
- status
The processing status of the transaction. It returns Ok if the transaction was successful and Err if the transaction failed with TransactionError
1{2"jsonrpc": "2.0",3"result": {4"context": {5"apiVersion": "2.1.16",6"slot": 3355018627},8"value": [9{10"confirmationStatus": "finalized",11"confirmations": null,12"err": null,13"slot": 140512999,14"status": {15"Ok": null16}17},18{19"confirmationStatus": "finalized",20"confirmations": null,21"err": null,22"slot": 139665040,23"status": {24"Ok": null25}26}27]28},29"id": 130}
1{2"jsonrpc": "2.0",3"result": {4"context": {5"apiVersion": "2.1.16",6"slot": 3355018627},8"value": [9{10"confirmationStatus": "finalized",11"confirmations": null,12"err": null,13"slot": 140512999,14"status": {15"Ok": null16}17},18{19"confirmationStatus": "finalized",20"confirmations": null,21"err": null,22"slot": 139665040,23"status": {24"Ok": null25}26}27]28},29"id": 130}