fetch volume for smart contract
Returns transfers on Ethereum and Polygon, where currency is 0xa5f1…f215, date since 2022-12-12 and date till 2022-12-14: date date, currency symbol and amount.
What it returns
- date date
- currency symbol
- amount
Filters
- currency is 0xa5f1…f215
- date since 2022-12-12
- date till 2022-12-14
- amount is above 0
The query
query ($network: EthereumNetwork!, $tokens: String!, $dateFormat: String!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
ethereum(network: $network) {
transfers(
currency: {is: $tokens}
amount: {gt: 0}
date: {since: $from, till: $till}
) {
date {
date(format: $dateFormat)
}
currency {
symbol
}
amount_usd: amount(in: USD)
amount
}
}
}
Variables
{
"limit": 10,
"offset": 0,
"network": "matic",
"tokens": "0xa5f1ea7df861952863df2e8d1312f7305dabf215",
"from": "2022-12-12",
"till": "2022-12-14T23:59:59",
"dateFormat": "%Y-%m-%d"
}
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