cardano query

Returns the latest money flows and transactions on Cardano, where receiver is addr1q…huel, sender is addr1q…huel and date since 2026-04-22: sender address, annotation, receiver address, amount, depth, count, transaction hash and 11 more fields.

By gaurav · saved 27 April 2026 · run 2 times · Bitquery API v1

What it returns

Filters

The query

query ($network: CardanoNetwork!, $address: String!, $inboundDepth: Int!, $outboundDepth: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  cardano(network: $network) {
    inbound: coinpath(
      currency: {}
      depth: {lteq: $inboundDepth}
      options: {asc: "depth", desc: "amount"}
      date: {since: $from, till: $till}
      receiver: {is: $address}
    ) {
      sender {
        address
        annotation
      }
      receiver {
        address
        annotation
      }
      amount
      depth
      count
      transaction {
        hash
        metadata
        feeValue
        withdrawalValue
        depositValue
      }
      currency {
        symbol
        tokenId
        tokenType
      }
      block {
        timestamp {
          time
        }
        height
      }
    }
    outbound: coinpath(
      currency: {}
      depth: {lteq: $outboundDepth}
      options: {asc: "depth", desc: "amount"}
      date: {since: $from, till: $till}
      sender: {is: $address}
    ) {
      sender {
        address
        annotation
      }
      receiver {
        address
        annotation
      }
      amount
      depth
      count
      transaction {
        hash
        metadata
        feeValue
        withdrawalValue
        depositValue
      }
      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

{
  "offset": 0,
  "address": "addr1qxl5dw2x7l0pt878t9s5tkprmw7p6s4wcw8w4yvcvz5vaqesljcnv4d9upl6jttd0urga4gcazavqmcfz6cd6zkshrxsn3huel",
  "network": "cardano",
  "inboundDepth": 1,
  "outboundDepth": 1,
  "from": "2026-04-22T00:00:00",
  "till": "2026-04-27T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries