coinpath_cardano test

Returns the latest money flows and transactions on Cardano, where receiver is addr1q…x0jl, sender is addr1q…x0jl and date since 2023-02-10: sender address, annotation, receiver address, amount, depth, count, transaction hash and 10 more fields.

By Matt Kelly · saved 20 February 2023 · run 19 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: {}
      depth: {lteq: $inboundDepth}
      options: {asc: "depth", desc: "amount", limitBy: {each: "depth", limit: $limit}}
      date: {since: $from, till: $till}
      receiver: {is: $address}
    ) {
      sender {
        address
        annotation
      }
      receiver {
        address
        annotation
      }
      amount
      depth
      count
      transaction {
        hash
        metadata
        feeValue
        withdrawalValue
      }
      currency {
        symbol
        tokenId
        tokenType
      }
      block {
        timestamp {
          time
        }
        height
      }
    }
    outbound: coinpath(
      currency: {}
      depth: {lteq: $outboundDepth}
      options: {asc: "depth", desc: "amount", limitBy: {each: "depth", limit: $limit}}
      date: {since: $from, till: $till}
      sender: {is: $address}
    ) {
      sender {
        address
        annotation
      }
      receiver {
        address
        annotation
      }
      amount
      depth
      count
      transaction {
        hash
        metadata
        feeValue
        withdrawalValue
      }
      currency {
        symbol
        tokenId
        tokenType
      }
      block {
        timestamp {
          time
        }
        height
      }
    }
    transactions(
      date: {since: $from, till: $till}
      options: {desc: ["block.height"]}
      txHash: {}
      any: [{inputAddress: {is: $address}}, {outputAddress: {is: $address}}]
    ) {
      block {
        height
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
      }
      hash
      feeValue
      metadata
      withdrawalValue
      mintCount
    }
  }
}

Variables

{
  "inboundDepth": 10,
  "outboundDepth": 10,
  "limit": 10,
  "offset": 0,
  "network": "cardano",
  "address": "addr1q877sslktjx03kr95gjmnws0d6f3f0r36utjzejxgnrrp2gwtf6nj8t35qph4n6m04gawl49yvsxytfjpjpcfhehpcvqf4x0jl",
  "from": "2023-02-10",
  "till": "2023-02-11T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries