Ripple Coinpath

You wanna know who who stole your money in Ripple blockchain? This query will help you my friend!

By ruslan · saved 11 January 2023 · run 33 times · Bitquery API v1

What it returns

Filters

The query

query ($network: RippleNetwork!, $address: String!, $inboundDepth: Int!, $outboundDepth: Int!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime, $currency: String!) {
  ripple(network: $network) {
    inbound: coinpath(
      initialAddress: {is: $address}
      depth: {lteq: $inboundDepth}
      options: {direction: inbound, asc: "depth", desc: "amount", limitBy: {each: "depth", limit: $limit, offset: $offset}}
      date: {since: $from, till: $till}
      currencyTo: {is: $currency}
    ) {
      transaction {
        hash
      }
      sender {
        address
        annotation
      }
      receiver {
        address
        annotation
      }
      amount: amountTo
      currency: currencyTo {
        symbol
        name
      }
      depth
      count
    }
    outbound: coinpath(
      initialAddress: {is: $address}
      depth: {lteq: $outboundDepth}
      options: {asc: "depth", desc: "amount", limitBy: {each: "depth", limit: $limit, offset: $offset}}
      date: {since: $from, till: $till}
      currencyFrom: {is: $currency}
    ) {
      transaction {
        hash
      }
      sender {
        address
        annotation
      }
      receiver {
        address
        annotation
      }
      amount: amountFrom
      currency: currencyFrom {
        symbol
        name
      }
      depth
      count
    }
  }
}

Variables

{
		"address": "rKodkxhdjaXCoBmXuNtR6nahn4XyVFcPKP",
		"currency": "STR",
		"from": "2023-01-04",
		"inboundDepth": 1,
		"limit": 10,
		"network": "ripple",  
		"offset": 0,
		"outboundDepth": 1,
		"till": "2023-01-11T23:59:59"
}

Similar queries