Avoiding Memory Limit Exception With Limit Condition in Query
Returns 500 transactions on Ethereum and Polygon, sorted by amount, highest first: date date, block height, timestamp time, hash, gas value, amount, sender address and 7 more fields.
What it returns
- date date
- block height
- timestamp time
- hash
- gas value
- amount
- sender address
- annotation
- contract type
- protocol type
- currency name
- token type
- currency symbol
- to address
The query
query MyQuery {
ethereum(network: matic) {
transactions(success: true, date: {}, options: {limit: 500, desc: "amount"}) {
date {
date(format: "%Y-%m-%dT%H:%M:%S")
}
block(height: {between: [36000000, 36000400]}) {
height
timestamp {
time
}
}
hash
gasValue(calculate: sum)
amount(calculate: sum)
sender {
address
annotation
smartContract {
contractType
protocolType
currency {
name
tokenType
symbol
}
}
}
to {
address
annotation
smartContract {
contractType
protocolType
currency {
name
tokenType
symbol
}
}
}
}
}
}
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