e

Returns 10 transfers on XRP Ledger, where currency to symbol is ARK, currency from symbol is XRP and direction is trade, sorted by timestamp time: timestamp time, block, amount from, amount to, currency from address, currency from name, currency from symbol and 11 more fields.

By Omkar_BQ · saved 6 November 2023 · Bitquery API v1

What it returns

Filters

The query

query ($network: RippleNetwork!, $limit: Int!, $offset: Int!) {
  ripple(network: $network) {
    transfers(
      options: {asc: "timestamp.time", limit: $limit, offset: $offset}
      currencyToSymbol: {is: "ARK"}
       currencyFromSymbol: {is: "XRP"}
      direction: {is: "trade"}
    ) {
      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
      }
      direction
      receiver {
        address
        annotation
      }
      sender {
        address
        annotation
      }
      transaction {
        hash
      }
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "address": "rf5Jzzy6oAFBJjLhokha1v8pXVgYYjee3b",
  "network": "ripple",
  "from": "2021-10-30",
  "till": "2023-11-06T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries