count inflows and outflows of a wallet
Returns 25 transfers on Ethereum and Polygon, where sender is 0x0051…55f9 and receiver is 0x0051…55f9: count.
What it returns
- count
Filters
- sender is 0x0051…55f9
- receiver is 0x0051…55f9
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
}
intransfers: transfers(
options: {limit: $limit, offset: $offset}
receiver: {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
- matic - make query fast · Polygon · Transactions
- missing transfers · Polygon · Transfers
- matic query · Polygon · Transfers
- matic_do_not_work · Polygon · Transfers
- leo · Polygon · Transfers