Transfer API

Returns the latest 10 transfers on Ethereum, where sender is 0xb16c…a240, date since 2021-12-12 and date till 2022-01-10: timestamp time, block height, receiver address, annotation, currency address, currency symbol, amount and 5 more fields.

By gaurav · saved 11 January 2022 · run 1 time · Bitquery API v1

What it returns

Filters

The query

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

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "ethereum",
  "address": "0xb16c043ec6c5df5a5902d18877a2018e52c8a240",
  "currency": "",
  "from": "2021-12-12",
  "till": "2022-01-10T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries