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.

By Aleksey · saved 6 February 2023 · run 8 times · Bitquery API v1

What it returns

Filters

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