https://bitquery.zendesk.com/agent/tickets/717

Returns 25000 transfers on Ethereum, where receiver is 0x544c…8cba, currency is 0xc9ce…82de or 0xc02a…6cc2 and sender is 0x544c…8cba: timestamp time, currency address and amount.

By Sayon Sai Dutta · saved 7 July 2022 · Bitquery API v1

What it returns

Filters

The query

query MyQuery {
  ethereum(network: ethereum) {
    receive: transfers(
      options:{limit:25000,offset:0}
      receiver: {is: "0x544cd63c9a3363dab66733bf8073cb981db58cba"}
      date: {since: "2020-01-01"} #, till: "2100-01-01"}
      currency: {in: ["0xc9ce70a381910d0a90b30d408cc9c7705ee882de", "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"]}
    ) {
      block {
        timestamp {
          time(format: "%Y:%m:%d %H:%M:%S")
        }
      }
      currency {
        address
      }
      amount(calculate: sum)
    }
    send: transfers(
      options:{limit:25000,offset:0}
      sender: {is: "0x544cd63c9a3363dab66733bf8073cb981db58cba"}
      date: {since: "2020-01-01"} #, till: "2100-01-01"}
      currency: {in: ["0xc9ce70a381910d0a90b30d408cc9c7705ee882de", "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"]}
    ) {
      block {
        timestamp {
          time(format: "%Y:%m:%d %H:%M:%S")
        }
      }
      currency {
        address
      }
      amount(calculate: sum)
    }
  }
}

Similar queries