Wbnb withdrawal from given pool token

Returns the latest 10 transfers on Ethereum and BNB Chain, where sender is 0x8403…e536, currency is 0xbb4C…095c and date since 2021-01-01: timestamp time, block height, sender address, annotation, receiver address, transaction hash, amount and 2 more fields.

By gaurav · saved 1 October 2021 · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $token: String!, $limit: Int!, $offset: Int!, $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}
      sender: {is: "0x8403403fb6f8a284c7a9edde94df1bca25bae536"}
      currency: {is: $token}
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      sender {
        address
        annotation
      }
      receiver {
        address
        annotation
      }
      transaction {
        hash
      }
      amount
      currency {
        symbol
      }
      external
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "bsc",
  "token": "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c",
  "from": "2021-01-01",
  "till": null,
  "dateFormat": "%Y-%m-%d"
}

Similar queries