Retrieve token account
Retrieve a wallets token account for a particular Pump.fun token.
Path Parameters
mint
(string)
The token's mint address you wish to check balance for.
wallet
(string)
The wallet address you want to check token account for.
Attributes
result
(object)
The token balance object.
mint
(string)
The token's mint address.
tokenAccount
(string)
The wallets token account address.
wallet
(string)
The wallet address.
solscan
(object)
An object containing Solana Explorer URLs for the token.
mint
(string)
The Solana Explorer URL for the token.
tokenAccount
(string)
The Solana Explorer URL for the token account.
wallet
(string)
The Solana Explorer URL for the wallet.
pumpfun
(object)
An object containing the Pump.fun URL for the token.
mint
(string)
The Pump.fun URL for the token.
Useful for
Retrieving a wallets token account for a particular token.
Endpoint
https://api.tradepump.fun/v1/token/:mint/token-account/:wallet
Example Request
1
2
3
4
5
6
7
8
9
10
import { PumpApiClient } from 'tradepumpfun';
const client = new PumpApiClient({
apiKey: '<your-api-key>'
});
await client.token.tokenAccount({
mint: "<mint>",
wallet: "<wallet>",
});