Query currency in conditional expr Cosmos
Returns address details and transfers on cosmoshub, where address is cosmos…ffym, receiver is cosmos…ffym and sender is cosmos…ffym: annotation, count, minimum of date, maximum of date and maximum of time.
What it returns
- annotation
- count
- minimum of date
- maximum of date
- maximum of time
Filters
- address is cosmos…ffym
- receiver is cosmos…ffym
- sender is cosmos…ffym
The query
query ($address: String!) {
cosmos(network: cosmoshub) {
address(address: {is: $address}) {
annotation
}
ins: transfers(receiver: {is: $address}) {
count
first_time: minimum(of: date)
last_time: maximum(of: date)
maximum(of: time get: value)
currency_symbol: maximum(of: time get: currency_symbol)
}
outs: transfers(sender: {is: $address}) {
count
first_time: minimum(of: date)
last_time: maximum(of: date)
maximum(of: time get: value)
currency_symbol: maximum(of: time get: currency_symbol)
}
}
}
Variables
{"address": "cosmos1chfn9xl8fjkympg2cujgnjefhju86s8yucffym", "network": "bitcoinsv"}
Similar queries
- cosmos-address · Cosmoshub · Address
- Query balance in Cosmos · Cosmoshub · Address
- Atom Hash Search Query · Cosmoshub · Transfers
- transfers_filter_by_sender_ · Cosmoshub · Transfers
- transfers_block · Cosmoshub · Transfers