address money sent and received

Returns 10000 transfers and address details on Ethereum, where receiver is 0x5777…2168, sender is 0x5777…2168 and address is 0x5777…2168: currency symbol, amount, count, balances value, contract type and protocol type.

By gaurav · saved 10 June 2022 · run 4 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum {
    money_reciecved: transfers(
      options: {limit: 10000, offset: 0}
      amount: {gt: 0}
      receiver: {is: "0x5777d92f208679DB4b9778590Fa3CAB3aC9e2168"}
    ) {
      currency {
        symbol
      }
      amount(calculate: sum)
      count
    }
    money_sent: transfers(
      options: {limit: 10000, offset: 0}
      amount: {gt: 0}
      sender: {is: "0x5777d92f208679DB4b9778590Fa3CAB3aC9e2168"}
      external: true
    ) {
      currency {
        symbol
      }
      amount(calculate: sum)
      count
    }
    balance: address(address: {is: "0x5777d92f208679DB4b9778590Fa3CAB3aC9e2168"}) {
      balances {
        currency {
          symbol
        }
        value
      }
      smartContract {
        contractType
        protocolType
      }
    }
  }
}

Similar queries