All inputs and outputs of an address

Returns 10 inputs and outputs on Cardano, where tx hash is bdc00a…bc31, sorted by output index: input index, input address address, annotation, value, currency symbol, output index, output address address and output direction.

By gaurav · saved 17 June 2025 · Bitquery API v1

What it returns

Filters

The query

query ($network: CardanoNetwork!, $hash: String!) {
  cardano(network: $network) {
    inputs(txHash: {is: $hash}, options: {asc: "inputIndex", limit: 10, offset: 0}) {
      inputIndex
      address: inputAddress {
        address
        annotation
      }
      value
      value_usd: value(in: USD)
      currency {
        symbol
      }
    }
    outputs(
      txHash: {is: $hash}
      options: {asc: "outputIndex", limit: 10, offset: 0}
    ) {
      outputIndex
      address: outputAddress {
        address
        annotation
      }
      value
      value_usd: value(in: USD)
      currency {
        symbol
      }
      outputDirection
    }
  }
}

Variables

{
  "network": "cardano",
  "hash": "bdc00acd38d54ae9beb2ae583f8c0405aca17e509b81803f588fd719b505bc31"
}

Similar queries