Solana_address_token_transfers

Returns transfers on Solana, where receiver address is GgDoL7…aAu3 or 8xMRPF…hxkw, sender address is GgDoL7…aAu3 or 8xMRPF…hxkw and height is 199425507: amount, currency address, decimals, currency name, currency symbol, token ID, token type and 6 more fields.

By Omkar Acharekar · saved 19 June 2023 · run 3 times · Bitquery API v1

What it returns

Filters

The query

query MyQuery($height: Int, $address: String!,  $token: String!) {
  solana(network: solana) {
    inbound: transfers(
      receiverAddress: {in: [$address, $token]}
      height: {is: $height}
    ) {
      amount
      currency {
        address
        decimals
        name
        symbol
        tokenId
        tokenType
      }
      transferType
      block {
        height
        timestamp {
          unixtime
        }
      }
      transaction {
        feePayer
        fee
        signature
      }
    }
    outbound: transfers(
      senderAddress: {in: [$address, $token]}
      height: {is: $height}
    ) {
      amount
      currency {
        address
        decimals
        name
        symbol
        tokenId
        tokenType
      }
      transferType
      block {
        height
        timestamp {
          unixtime
        }
      }
      transaction {
        feePayer
        fee
        signature
      }
    }
  }
}

Variables

{
  "limit": 100000,
  "offset": 0,
  "address": "GgDoL7uRT6NrurxhPKC83vAeuqEBH5mC6FTgZ4GmaAu3",
  "token" : "8xMRPFmFv7wtf6df2REUAnMiQB58NGMDBohVF8Fshxkw",
  "height": 199425507
}

Similar queries