smart contract transfers

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

By gaurav · saved 30 August 2021 · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc_testnet) {
    inbound: transfers(
      options: {desc: "block.timestamp.time", asc: "currency.symbol", limit: 10, offset: 0}
      date: {since: null, till: null}
      amount: {gt: 0}
      receiver: {is: "0x2d4ee064ebb491b1e6db6ea1962db59d1d0e0741"}
    ) {
      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: "0x2d4ee064ebb491b1e6db6ea1962db59d1d0e0741"}
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      address: receiver {
        address
        annotation
      }
      currency {
        address
        symbol
      }
      amount
      transaction {
        hash
      }
      external
    }
  }
}

Similar queries