v1_non_array

Returns transfers on Solana, where success is true: receiver address, sender address and amount.

By ziko_mode · saved 17 December 2024 · run 8 times · Bitquery API v1

What it returns

Filters

The query

query ($token: String!, $h0: String!, $h1: String!, $h2: String!, $h3: String!, $h4: String!, $h5: String!, $pairs: [String!], $count: Int, $offset: Int) {
  solana(network: solana) {
    transfers(
      senderAddress: {notIn: $pairs}
      currency: {is: $token}
      receiverAddress: {in: [$h0, $h1, $h2, $h3, $h4, $h5]}
      success: {is: true}
      options: {offset: $offset, limit: $count}
    ) {
      receiver {
        address
      }
      sender {
        address
      }
      sum: amount(calculate: sum)
    }
  }
}

Similar queries