Binnen48

How-to · Solana · CSV

Export a Solana wallet
to CSV. No API key.

People keep asking this on Stack Exchange: get signatures, then fetch each transaction, then write a file. You can do that yourself. Slip does the same in the browser if you do not want to script it.

The recipe

Two RPC calls. Then a file.

Public RPC is enough for a recent slice. Replace ADDRESS with a pubkey.

  1. 01

    Signatures

    getSignaturesForAddress returns the newest signatures (default up to 1000). For older history, call again with before set to the last signature you got.

  2. 02

    Each transaction

    getTransaction (or getParsedTransactions) on those signatures. Public endpoints rate-limit; sleep between calls. This is the slow part.

  3. 03

    Write CSV

    Columns that are actually useful: signature, block time, slot, err, and native SOL. Token balances live on associated accounts, so also call getTokenAccountsByOwner.

curl https://api.mainnet-beta.solana.com -H 'content-type: application/json' -d '{
  "jsonrpc":"2.0","id":1,"method":"getSignaturesForAddress",
  "params":["ADDRESS",{"limit":10}]
}'

Not tax advice. Public RPC does not guarantee full history. Helius and Solscan have paid export APIs if you need years of data.

Without a script

Preview in the browser.

Slip runs those calls from your tab. Paste an address, see SOL, USDC, and the last signatures. The full CSV (token accounts + up to 50 signatures) is 8 USDC on Solana, matched on-chain. No email, no seed.

Open the preview

Need empty token accounts instead? Reclaim. Also on Hashnode: Export a Solana wallet to CSV with public RPC.