How many transfers between two ethereum addresses ( particular currency )

The query return the number of transfers between two Ethereum addresses for one particular currency

By Omkar Acharekar · saved 15 February 2023 · run 8 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    transfers1to2: transfers(
      date: {since: $from, till: $till}
      sender: {is: "0xdfd5293d8e347dfe59e90efd55b2956a1343963d"}
      receiver: {is: "0xfa103c21ea2df71dfb92b0652f8b1d795e51cdef"}
      currency: {is: "0x5a98fcbea516cf06857215779fd812ca3bef1b32"}
    ) {
      count:countBigInt
    }
    transfers2to1: transfers(
      
      date: {since: $from, till: $till}
      sender: {is: "0xfa103c21ea2df71dfb92b0652f8b1d795e51cdef"}
      receiver : {is: "0xdfd5293d8e347dfe59e90efd55b2956a1343963d"} 
      currency: {is: "0x5a98fcbea516cf06857215779fd812ca3bef1b32"}
      
    ) {
      count:countBigInt
    }
  }
}

Variables

{

  "network": "ethereum",
  "from": "2023-02-08",
  "till": "2023-02-15T23:59:59"
  
}

Similar queries