Total gas fee in last 30 days on Polygon
Returns transactions on Ethereum and Polygon, where date after 2023-01-01 and date before 2023-01-27: gas value and gas price.
What it returns
- gas value
- gas price
Filters
- date after 2023-01-01
- date before 2023-01-27
The query
query ($network: EthereumNetwork!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
ethereum(network: $network) {
transactions(date: {after: $from, before: $till}) {
gasValue(calculate: sum)
gasPrice(calculate: sum)
}
}
}
Variables
{
"network": "matic",
"from": "2023-01-01",
"till": "2023-01-27T23:59:59",
"dateFormat": "%Y-%m-%d"
}
Similar queries
- matic - make query fast · Polygon · Transactions
- transactions · Ethereum · Transactions
- matic_tx_transaction · Polygon · Transactions
- Polygon txns with value 0 not in db · Polygon · Transactions
- FreshWalletCheck for prediction market · Polygon · Transactions