XRP queries corrected
test case
Returns 5 transfers on XRP Ledger, where sender is rJn2zA…apQh, receiver is rMvCas…gQ8G and date since 2023-06-01, sorted by amount from: timestamp time, block, amount from, amount to, currency from address, currency from name, currency from symbol and 9 more fields.
What it returns
- timestamp time
- block
- amount from
- amount to
- currency from address
- currency from name
- currency from symbol
- token ID
- token type
- decimals
- currency to address
- currency to name
- currency to symbol
- sender address
- receiver address
- transaction hash
Filters
- sender is rJn2zA…apQh
- receiver is rMvCas…gQ8G
- date since 2023-06-01
- date till 2023-09-01
The query
query ($network: RippleNetwork!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime, $sender: String!, $receiver: String!) {
ripple(network: $network) {
transfers(
options: {asc: "amountFrom", limit: $limit, offset: $offset}
date: {since: $from, till: $till}
sender: {is: $sender}
receiver: {is: $receiver}
) {
timestamp {
time
}
block
amountFrom
amount_from_usd: amountFrom(in: USD)
amountTo
amount_to_usd: amountTo(in: USD)
currencyFrom {
address
name
symbol
tokenId
tokenType
decimals
}
currencyTo {
address
decimals
name
symbol
tokenId
tokenType
}
sender {
address
}
receiver {
address
}
transaction {
hash
}
}
}
}
Variables
{
"address": null,
"sender": "rJn2zAPdFA193sixJwuFixRkYDUtx3apQh",
"receiver": "rMvCasZ9cohYrSZRNYPTZfoaaSUQMfgQ8G",
"currency": "XRP",
"from": "2023-06-01T00:00:00Z",
"till": "2023-09-01T23:59:59Z",
"limit": 5,
"offset": 0,
"network": "ripple",
"dateFormat": "%Y-%m-%d",
"sortFilter": "timestamp",
"sortAsc": true,
"tradeMinAmount": null,
"tradeMaxAmount": null
}
Similar queries
- ripple · XRP Ledger · Transfers
- ripple_rusd_token_transfers_se · XRP Ledger · Transfers
- XRP Token Transfers · XRP Ledger · Transfers
- ripple balances · XRP Ledger · Transfers
- ripple_CB · XRP Ledger · Transfers