Ripple balances api

Returns 100 balances on XRP Ledger, where account is rh3VLy…LkSR, date since 2022-07-25 and date till 2022-08-01, sorted by block transaction index, highest first: transaction hash, transaction index, sender, transaction type, timestamp time, prev ledger sequence, prev balance and 14 more fields.

By gaurav · saved 1 August 2022 · run 6 times · Bitquery API v1

What it returns

Filters

The query


            query($network: RippleNetwork!,
                  $address: String!,
                  $from: ISO8601DateTime,
                  $till: ISO8601DateTime,
                  $limit: Int!,
                  $offset: Int!){
              ripple(network: $network) {
                balances(date: {since: $from, till: $till},
                account: {is: $address},
                options: {limit: $limit, offset: $offset, desc: ["block", "transaction.index"]}){
                  transaction {
                    hash
                    index
                    sender
                    type
                  }
                  timestamp {
                    time
                  }
                  prevLedgerSequence
                  prevBalance
                  operation
                  issuer {
                    address
                    annotation
                  }
                  flags
                  date {
                    date
                  }
                  currency {
                    address
                    decimals
                    name
                    symbol
                    tokenId
                    tokenType
                  }
                  block
                  balance
                  account {
                    address
                    annotation
                  }
                }
              }
            }

Variables

{
  "limit": 100,
  "offset": 10,
  "network": "ripple",
  "address": "rh3VLyj1GbQjX7eA15BwUagEhSrPHmLkSR",
  "from": "2022-07-25",
  "till": "2022-08-01T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries