Get Transaction Status
Get transaction status and the metadata of the transaction.
Be aware that this endpoint only fetches transactions that were recently landed on the chain. Depending on the level of activities on the chain, this endpoint may be able to get transactions as far as serval hours. Fetching older transactions may return the status 'not_found'.
Request
Method:
GET ./api/v2/transaction
Parameters:
Parameter | Type | Description |
---|---|---|
| string | Signature of a Solana transaction. |
Request example:
Response:
Fields:
Fields | Type | Description |
---|---|---|
| string | Status of target transaction. Expected value " |
|
| The metadata of the transaction. See below for more details |
| uint64 | Slot in which the transaction is included |
| uint64 | Time at which transaction landed on chain |
| int32 | Version of the transaction (represents either Legacy or Version) |
TransactionMeta
Parameter | Description | |
---|---|---|
| string | description of error in transaction |
| uint64 | did transaction error? |
| uint64 | transaction fee |
| uint64 | balance in wallet before transaction |
| uint64 | balance in wallet after transaction |
| [] | inner instructions inside of transaction |
| string | any logs related to transaction |
| [] | token balances in wallet before transaction |
| [] | token balances in wallet after transaction |
Response Example:
Last updated