smart contract transfers

Returns the latest 10 transfers on Ethereum, where receiver is 0x9718…4baC, sender is 0x9718…4baC and amount is above 0: timestamp time, block height, sender address, annotation, currency address, currency symbol, amount and 3 more fields.

By Isha · saved 31 August 2021 · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: ethereum) {
    inbound: transfers(
      options: {desc: "block.timestamp.time", asc: "currency.symbol", limit: 10, offset: 0}
      date: {since: null, till: null}
      amount: {gt: 0}
      receiver: {is: "0x971896fb945363F6B5B27d926eE3FfD1b17A4baC"}
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      address: sender {
        address
        annotation
      }
      currency {
        address
        symbol
      }
      amount
      transaction {
        hash
      }
      external
    }
    outbound: transfers(
      options: {desc: "block.timestamp.time", asc: "currency.symbol", limit: 10, offset: 0}
      date: {since: null, till: null}
      amount: {gt: 0}
      sender: {is: "0x971896fb945363F6B5B27d926eE3FfD1b17A4baC"}
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      address: receiver {
        address
        annotation
      }
      currency {
        address
        symbol
      }
      amount
      transaction {
        hash
      }
      external
    }
  }
}

Similar queries