Solana historical token transfers of an address before a specific time

Returns the latest transfer on Solana, where receiver address is DoPnWi…6Zgu, currency is SOL and time before 2025-06-25: timestamp time, block height, sender address, sender mint account, receiver address, receiver mint account, currency name and 5 more fields.

By gaurav · saved 9 August 2025 · run 6 times · Bitquery API v1

What it returns

Filters

The query

query ($network: SolanaNetwork!, $limit: Int!, $offset: Int!, $till: ISO8601DateTime) {
  solana(network: $network) {
    received: transfers(
      options: {desc: "block.height", limit: $limit, offset: $offset}
      time: {before: $till}
      currency:{
        is:"SOL"
      }
      receiverAddress: {is: "DoPnWi3csUodvLqu6VCLWg3EJwLccky9CD4C9ejL6Zgu"}
      amount: {gt: 0}
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      sender {
        address
        mintAccount
      }
      receiver {
        address
        mintAccount
      }
      currency {
        name
        address
        symbol
      }
      amount
      amount_usd: amount(in: USD)
      transaction {
        feePayer
        signature
      }
    }
  }
}

Variables

{
  "limit": 1,
  "offset": 0,
  "network": "solana",
  "till": "2025-06-25T06:58:51.999Z",
  "dateFormat": "%Y-%m-%d"
}

Similar queries