get latest trades on ripple

Returns the latest 10 transfers on XRP Ledger, where direction is trade and date since 2025-06-01: timestamp time, transaction type, amount from, amount to, block, direction, currency from address and 11 more fields.

By Kshitij Mahajan · saved 16 June 2025 · Bitquery API v1

What it returns

Filters

The query

query ($network: RippleNetwork!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime) {
  ripple(network: $network) {
    transfers(
      options: {desc: "block", limit: $limit, offset: $offset}
      date: {since: $from}
      direction: {is: "trade"}
    ) {
      timestamp {
        time
      }
      transaction {
        type
      }
      amountFrom
      amount_from_usd: amountFrom(in: USD)
      amountTo
      amount_to_usd: amountTo(in: USD)
      block
      direction
      currencyFrom {
        address
        name
        symbol
        tokenId
        tokenType
        decimals
      }
      currencyTo {
        address
        decimals
        name
        symbol
        tokenId
        tokenType
      }
      direction
      receiver {
        address
        annotation
      }
      sender {
        address
        annotation
      }
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "ripple",
  "from": "2025-06-01",
  "dateFormat": "%Y-%m-%d"
}

Similar queries