Ripple query with balance
Returns address details and transfers on XRP Ledger, where address is rJVt9V…GmDR, receiver is rJVt9V…GmDR and sender is rJVt9V…GmDR: annotation, balance, count, minimum of date, maximum of date and maximum of block.
What it returns
- annotation
- balance
- count
- minimum of date
- maximum of date
- maximum of block
Filters
- address is rJVt9V…GmDR
- receiver is rJVt9V…GmDR
- sender is rJVt9V…GmDR
The query
query ($address: String!) {
ripple(network: ripple) {
address(address: {is: $address}) {
annotation
balance
usd: balance(in: USD)
}
ins: transfers(receiver: {is: $address}) {
count
first_time: minimum(of: date)
last_time: maximum(of: date)
last_amt: maximum(of: block get:amountTo)
last_currency: maximum(of: block get:currencyToSymbol)
}
outs: transfers(sender: {is: $address}) {
count
first_time: minimum(of: date)
last_time: maximum(of: date)
last_amt: maximum(of: block get:amountFrom)
last_currency: maximum(of: block get:currencyFromSymbol)
}
}
}
Variables
{"address": "rJVt9V2sgVMxSgMeu8LPtdu6spc8TGmDR", "network": "bitcoin"}
Similar queries
- ripple_account_balance · XRP Ledger · Address
- ripple_balance · XRP Ledger · Address
- xrp_balance · XRP Ledger · Address
- Ripple query · XRP Ledger · Address
- XRP Token Transfers · XRP Ledger · Transfers