cardano_input_outputs

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

By Omkar_BQ · saved 25 June 2024 · run 4 times · Bitquery API v1

What it returns

Filters

The query

query ($network: CardanoNetwork!, $hash: String!) {
  cardano(network: $network) {
    inputs(
      txHash: {is: $hash}
      options: {asc: "inputIndex"}
    ) {
      inputIndex
      address: inputAddress {
        address
        annotation
      }
      value
      currency {
        symbol
      }
    }
    outputs(
      txHash: {is: $hash}
      options: {asc: "outputIndex"}
    ) {
      outputIndex
      address: outputAddress {
        address
        annotation
      }
      value
      currency {
        symbol
      }
    }
  }
}

Variables

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

Similar queries