sender and receiver for ripple

Returns transfers on XRP Ledger, where sender is rDAE53…JPxr, receiver is rDAE53…JPxr and date since 2022-10-25: amount from, amount to, receiver address and sender address.

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

What it returns

Filters

The query

query ($network: RippleNetwork!, $address: String!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ripple(network: $network) {
    inbound: transfers(date: {since: $from, till: $till}, sender: {is: $address}) {
      amountFrom(calculate: sum, in: USD)
      amountTo(calculate: sum, in: USD)
      receiver {
        address
      }
    }
    outbound: transfers(date: {since: $from, till: $till}, receiver: {is: $address}) {
      amountFrom(calculate: sum, in: USD)
      amountTo(calculate: sum, in: USD)
      sender {
        address
      }
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "ripple",
  "address": "rDAE53VfMvftPB4ogpWGWvzkQxfht6JPxr",
  "from": "2022-10-25",
  "till": "2022-11-01T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries