Retrieve A Wallet

GET

Retrieve one of your wallets by its id.

Path Parameters

id

(string)

The id of the wallet being retrieved.

Response

wallet

The wallet being retrieved, containing all relevant details and attributes associated with it.

solscan

(object)

An object containing Solana Explorer URLs for the wallet.


wallet

(string)

The Solana Explorer URL for the wallet.

Useful for

  • Retrieving a wallet's details by its id.

  • Verifying ownership of a wallet.

Endpoint

https://api.tradepump.fun/v1/wallet/:id

Example Request

Node
Curl
Axios
1 2 3 4 5 6 7 import { PumpApiClient } from 'tradepumpfun'; const client = new PumpApiClient({ apiKey: '<your-api-key>' }); await client.wallet.retrieveById({ id: "<wallet-id>" });

Response Example

{ "result": { "id": "<:id>", "fkAccountId": "<account-id>", "nickname": "My Wallet", "description": "My Wallet Description", "primary": true, "exp": "1000", "level": 1, "createdAt": "2021-01-01T00:00:00.000Z", "updatedAt": "2021-01-01T00:00:00.000Z" }, "solscan": { "wallet": "https://solscan.io/account/<:id>" } }