Skip to main content
Retrieve all transactions sent by or to a specific address to track wallet activity, exchange flows, or program interactions.

Use Case

Transaction queries help you:
  • Track incoming transactions to wallets or exchanges
  • Monitor program interactions
  • Analyze transaction patterns
  • Build transaction history feeds

Code Example

curl --compressed -X POST 'https://portal.sqd.dev/datasets/solana-mainnet/stream' \
  -H 'Content-Type: application/json' \
  -d '{
    "type": "solana",
    "fromBlock": 280000000,
    "toBlock": 280000003,
    "fields": {
      "block": {
        "number": true,
        "timestamp": true
      },
      "transaction": {
        "signatures": true,
        "feePayer": true,
        "err": true
      }
    },
    "transactions": [{}]
  }'
Try it yourself with the interactive query interface below:

Key Parameters

ParameterDescription
feePayerFilter transactions by fee payer address
signaturesTransaction signatures (base58-encoded)
errTransaction error (null if successful)

Expected Output

{
  "header": {
    "number": 259985000,
    "timestamp": 1697544779
  },
  "transactions": [
    {
      "signatures": ["5j7s8K9L..."],
      "feePayer": "9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM",
      "err": null
    }
  ]
}

Monitor Outgoing Transactions

Track transactions from a specific wallet:
curl --compressed -X POST 'https://portal.sqd.dev/datasets/solana-mainnet/stream' \
  -H 'Content-Type: application/json' \
  -d '{
    "type": "solana",
    "fromBlock": 280000000,
    "toBlock": 280000003,
    "fields": {
      "transaction": {
        "signatures": true,
        "feePayer": true
      }
    },
    "transactions": [{}]
  }'

Performance Tips

  1. Filter by fee payer: Reduces results to transactions from specific wallets
  2. Request minimal fields: Omit unnecessary fields to improve performance
  3. Check error status: Filter failed transactions in post-processing if needed
  4. Use slot ranges: Process data in manageable batches
Last modified on November 18, 2025