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.
What it returns
- transaction hash
- transaction index
- sender
- transaction type
- timestamp time
- prev ledger sequence
- prev balance
- operation
- issuer address
- annotation
- flags
- date date
- currency address
- decimals
- currency name
- currency symbol
- token ID
- token type
- block
- balance
- account address
Filters
- account is rh3VLy…LkSR
- date since 2022-07-25
- date till 2022-08-01
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
- historical balance of a ripple token address for a specified token · XRP Ledger · Balances
- balances · XRP Ledger · Balances
- XRP_Genesis_Transactions_DestinationAddress · XRP Ledger · Balances
- ripple_balance_by_balances_at_block_height · XRP Ledger · Balances
- ripple account balance · XRP Ledger · Balances