traansfers where a currency is sent from or sent to a particular address

Returns transfers on Algorand, where date since 2024-07-01, date till 2024-07-09 and currency is 849191641: timestamp time, block height, sender address, annotation, receiver address, currency address, currency symbol and 2 more fields.

By Akshat · saved 9 July 2024 · Bitquery API v1

What it returns

Filters

The query

query MyQuery {
  algorand(network: algorand) {
    transfers(
      date: {since: "2024-07-01", till: "2024-07-09"}
      currency: {is: 849191641}
      any: [{sender: {in: ["OLP2LMN4NDMT6FKRFCMV5J7U3LTUFXKOHOMGWYBMIA675FSRVWT4C5HWVI"]}}, {receiver: {in: ["OLP2LMN4NDMT6FKRFCMV5J7U3LTUFXKOHOMGWYBMIA675FSRVWT4C5HWVI"]}}]
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      sender {
        address
        annotation
      }
      receiver {
        address
        annotation
      }
      currency {
        address
        symbol
      }
      amount
      amount_usd: amount(in: USD)
      transaction {
        hash
      }
    }
  }
}

Similar queries