zdc test

Returns the latest 10 transfers on Ethereum and BNB Chain, where currency is 0x213f…ab4a, receiver is 0x16d1…c6b0 and date since 2021-12-21: timestamp time, block height, sender address, annotation, currency address, currency symbol, amount and 2 more fields.

By Somcha!007 · saved 19 January 2022 · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $address: String!, $limit: Int!, $offset: Int!, $currency: String!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    transfers(
      options: {desc: "block.timestamp.time", limit: $limit, offset: $offset}
      date: {since: $from, till: $till}
      amount: {gt: 0}
      currency: {is: $currency}
      receiver: {is: $address}
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      address: sender {
        address
        annotation
      }
      currency {
        address
        symbol
      }
      amount
      transaction {
        hash
      }
      external
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "bsc",
  "address": "0x16d1160c4dddb64c4733b5ae0a2923733ab1c6b0",
  "currency": "0x213fd3c787b6c452f50fd91f14e12ddf04a7ab4a",
  "sender": "",
  "from": "2021-12-21",
  "till": "2022-01-19T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries