Query to Tezos value results in error
Returns transactions and transfers on tezos, where sender is tz1RRi…WNSq and receiver is tz1RRi…WNSq: count, minimum of date, maximum of date and maximum of block.
What it returns
- count
- minimum of date
- maximum of date
- maximum of block
Filters
- sender is tz1RRi…WNSq
- receiver is tz1RRi…WNSq
The query
query ($address: String!) {
tezos(network: tezos) {
transactions(sender:{is:$address}){
count
first_time: minimum(of: date)
last_time: maximum(of: date)
}
ins: transfers(receiver: {is: $address}) {
count
first_time: minimum(of: date)
last_time: maximum(of: date)
last_amt: maximum(of: block get: value)
last_currency: maximum(of: block, get: currencySymbol)
}
outs: transfers(sender: {is: $address}) {
count
first_time: minimum(of: date)
last_time: maximum(of: date)
last_amt: maximum(of: block get: value)
last_currency: maximum(of: block, get: currencySymbol)
}
}
}
Variables
{"address": "tz1RRimWuJrU4N5SPftTBbxCxjrd8GNGWNSq", "network": "bitcoin"}
Similar queries
- tezos avg, sum & sum in usd fees · Tezos · Transactions
- tezos transaction · Tezos · Transactions
- xtz_balance · Tezos · Address
- Tezos- 08-05-2023 · Tezos · Transactions
- Tezos · Tezos · Transactions