Skip to main content

Solana Wallet Transaction History API

What it is​

The history of one Solana wallet: the transactions it signed, the SOL and SPL token transfers it sent or received, and the transactions that failed. It covers the whole chain history, so one query answers "what did this wallet do in March" as well as "what did it do today".

How to get it​

Full wallet history is served by the Bitquery V1 API at https://graphql.bitquery.io. The V1 pages are the reference for it:

Use the same API token as for the streaming API: how to generate a Bitquery API token.

For a live feed of the wallet, use the streaming API instead: Solana Transfers API and Solana Transactions API.

How it is derived​

A wallet shows up in two places, and a complete history reads both:

QuestionV1 datasetFilter
Which transactions did the wallet sign?solana.transactionssigner
Which SOL and token movements touched the wallet?solana.transferssenderAddress or receiverAddress

A transaction the wallet signed can move no tokens, and a transfer can reach the wallet in a transaction someone else signed. That is why one list is not enough.

Fields​

FieldMeaning
signatureThe transaction signature
signerThe wallet that signed the transaction
feePayerThe wallet that paid the fee; it can differ from the signer
transactionFeeFee in SOL
successfalse for a failed transaction
instructionsCount, innerInstructionsCountHow many instructions the transaction ran
amount, currencyAmount and token of a transfer
sender.address, receiver.addressThe two sides of a transfer
block.timestamp.iso8601, block.heightWhen it happened

Examples​

Each example uses a fixed date range. Change the dates and the wallet address to your own.

Transactions signed by a wallet in a date range​

Every transaction the wallet signed in the window, newest first, with fee, status and instruction counts.

Run this query in the IDE

{
solana(network: solana) {
transactions(
date: {since: "2026-11-18", till: "2026-11-25"}
signer: {is: "7g9JL79igx2rSe8MTMrPDUfEY4FmySqB4gokKpaHQYkD"}
options: {limit: 100, desc: ["block.height", "transactionIndex"]}
) {
block {
height
timestamp {
iso8601
}
}
signature
signer
feePayer
transactionFee
success
instructionsCount
innerInstructionsCount
transactionIndex
}
}
}

Transfers sent or received by a wallet in a date range​

Every SOL and SPL token transfer where the wallet is the sender or the receiver. The any filter is an OR over the two sides.

Run this query in the IDE

{
solana(network: solana) {
transfers(
date: {since: "2026-11-18", till: "2026-11-25"}
any: [
{senderAddress: {is: "7g9JL79igx2rSe8MTMrPDUfEY4FmySqB4gokKpaHQYkD"}}
{receiverAddress: {is: "7g9JL79igx2rSe8MTMrPDUfEY4FmySqB4gokKpaHQYkD"}}
]
options: {desc: "block.timestamp.iso8601", limit: 100}
) {
block {
timestamp {
iso8601
}
}
amount
currency {
name
symbol
decimals
address
}
sender {
address
}
receiver {
address
}
transaction {
signature
}
}
}
}

Number of transactions and transfers of a wallet​

One request that counts both lists for the window. Use it to size the history before you page through it.

Run this query in the IDE

{
solana(network: solana) {
transactions(
date: {since: "2026-11-18", till: "2026-11-25"}
signer: {is: "7g9JL79igx2rSe8MTMrPDUfEY4FmySqB4gokKpaHQYkD"}
) {
count
}
transfers(
date: {since: "2026-11-18", till: "2026-11-25"}
any: [
{senderAddress: {is: "7g9JL79igx2rSe8MTMrPDUfEY4FmySqB4gokKpaHQYkD"}}
{receiverAddress: {is: "7g9JL79igx2rSe8MTMrPDUfEY4FmySqB4gokKpaHQYkD"}}
]
) {
count
}
}
}

Pitfalls​

  • Always set a date or time range. Walk a long history one range at a time, and page inside a range with limit and offset in options.
  • signer and feePayer are different filters. A sponsored transaction is paid by another wallet, so filter by feePayer to find the transactions a wallet paid for.
  • A transfer list is not a transaction list. One transaction can hold many transfers, and some transactions hold none.
  • Add currency: {is: "<mint address>"} to the transfers query to follow one token.
  • Add success: {is: false} to the transactions query to list only the failed ones.

FAQ​

Frequently Asked Questions

How do I get the transaction history of a Solana wallet through an API?

Query solana.transactions on the Bitquery V1 API with the wallet as signer and a date range. Each row has the signature, fee, fee payer, status and block time. Add solana.transfers with the wallet as sender or receiver to get every SOL and token movement as well.

How far back does Solana wallet history go?

The V1 API covers the whole history of Solana. Set a date range on every query and walk the history one range at a time.

How do I get all SOL and SPL token transfers of a Solana wallet?

Query solana.transfers with the any filter set to the wallet as senderAddress or receiverAddress. Each row returns the amount, the token, the sender, the receiver and the transaction signature.

Can I get only the failed transactions of a Solana wallet?

Yes. Add success false to the transactions query. The result lists the failed transactions of the wallet with their fees.

How do I follow a Solana wallet in real time?

Use the streaming API. Subscribe to Solana Transfers with the wallet as sender or receiver and each new transfer is pushed over WebSocket.

Build with Bitquery

Ready to run this in production?

Get an API key and run these queries in minutes, or talk to us about plans and enterprise delivery.