Retrieve a transaction
GET
Retrieve a transaction by its id.
Path Parameters
id
(string)
The transaction id.
Attributes
result
(object)
The transaction object.
id
(string)
The transaction id.
transactionResult
(object)
The transaction result.
solscan
(object)
The solana explorer url for the transaction.
tx
(string)
The solana explorer url for the transaction.
Useful for
Reviewing the results of a transaction.
Endpoint
https://api.tradepump.fun/v1/transaction/:id
Example Request
Node
Curl
Axios
1
2
3
4
5
6
7
8
9
import { PumpApiClient } from 'tradepumpfun';
const client = new PumpApiClient({
apiKey: '<your-api-key>'
});
await client.transaction.retrieveById({
id: '<transaction-id>',
});