matic address balance at a block height
Returns transfers on Ethereum and Polygon, where receiver is 0x4CfB…dDd2, currency is 0xa1Ca…5C01 and sender is 0x4CfB…dDd2: amount, currency address, currency symbol and currency name.
What it returns
- amount
- currency address
- currency symbol
- currency name
Filters
- receiver is 0x4CfB…dDd2
- currency is 0xa1Ca…5C01
- sender is 0x4CfB…dDd2
The query
query ($address: String!, $till: Int) {
ethereum(network:matic) {
received: transfers(
receiver: {is: $address}
currency: {is: "0xa1Ca6299ba48366Af1845A9A8AE59B87ff0d5C01"}
height: {lteq: $till}
success: true
) {
amount(calculate: sum)
currency {
address
symbol
name
}
}
sent: transfers(
sender: {is: $address}
currency: {is: "0xa1Ca6299ba48366Af1845A9A8AE59B87ff0d5C01"}
height: {lteq: $till}
success: true
) {
amount(calculate: sum)
currency {
address
symbol
name
}
}
}
}
Variables
{
"address": "0x4CfB9604f3297DDe00F83756651325Cc2897dDd2",
"till": 77396401
}
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