how many Transfers between two ethereum addresses

Returns the latest 10 transfers on Ethereum, where sender is 0xc02a…6cc2, receiver is 0x68b3…fc45 and date since 2023-04-13: timestamp time, block height, sender address, receiver address, currency address, currency symbol, amount and transaction hash.

By Oluwatomisin · saved 20 April 2023 · run 2 times · Bitquery API v1

What it returns

Filters

The query

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

      transaction {
        hash
      }

    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "ethereum",
  "from": "2023-04-13",
  "till": "2023-04-20T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries