count outflows of a wallet

Returns 25 transfers on Ethereum and Polygon, where sender is 0x0051…55f9: count.

By gaurav · saved 31 October 2022 · run 4 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $address: String!, $startblockheight: Int!, $endblockheight: Int!, $limit: Int!, $offset: Int!) {
  ethereum(network: $network) {
    outtransfers: transfers(
      options: {limit: $limit, offset: $offset}
      sender: {is: $address}
      height: {gteq: $startblockheight, lteq: $endblockheight}
    ) {
      count
    }
  }
}

Variables

{
  "network": "matic",
  "orderby": [
    "block.height",
    "block.timestamp.iso8601",
    "sender.address",
    "receiver.address",
    "amount"
  ],
  "address": "0x00515e6bf0cec3a35b1e4d90215f01eb45e255f9",
  "limit": 25,
  "offset": 0,
  "startblockheight": 0,
  "endblockheight": 35030521
}

Similar queries