ad coinpath APIs

Returns money flows on Cardano, where initial address is addr1q…s6cs, currency is ADA and date since 2022-11-08, sorted by amount, highest first: sender address, annotation, receiver address, amount, depth and count.

By gaurav · saved 15 November 2022 · run 3 times · Bitquery API v1

What it returns

Filters

The query

query ($network: CardanoNetwork!, $address: String!, $inboundDepth: Int!, $outboundDepth: Int!, $limit: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  cardano(network: $network) {
    inbound: coinpath(
    currency: {is: "ADA"}
    initialAddress: {is: $address}, depth: {lteq: $inboundDepth}, options: {direction: inbound, asc: "depth", desc: "amount", limitBy: {each: "depth", limit: $limit}}, date:{since: $from, till: $till}) {
      sender {
        address
        annotation
      }
      receiver {
        address
        annotation
      }
      amount
      depth
      count
    }
    outbound: coinpath(
    currency: {is: "ADA"}
    initialAddress: {is: $address}, depth: {lteq: $outboundDepth}, options: {asc: "depth", desc: "amount", limitBy: {each: "depth", limit: $limit}}, date:{since: $from, till: $till}) {
      sender {
        address
        annotation
      }
      receiver {
        address
        annotation
      }
      amount
      depth
      count
    }
  }
}

Variables

{
  "inboundDepth": 1,
  "outboundDepth": 1,
  "limit": 10,
  "offset": 0,
  "network": "cardano",
  "address": "addr1qxp34afwwxps4nrmp9tzlm6qq84n6kpr2v6uw34cn2u2knjaxq26qr7f64srl45u506sctx6j6e4a680w0jyfkvvzx4qe8s6cs",
  "from": "2022-11-08",
  "till": "2022-11-15",
  "dateFormat": "%Y-%m-%d"
}

Similar queries