ADA Trans

Returns inputs and outputs on Cardano, where tx hash is 748608…01e6, sorted by output index, highest first: input index, input address address, value, currency symbol, block height, iso8601, transaction hash and 4 more fields.

By Francesco Gasparetto · saved 7 March 2025 · run 4 times · Bitquery API v1

What it returns

Filters

The query

query ($network: CardanoNetwork!, $hash: [String!], $offset: Int!) {
  cardano(network: $network) {
    inputs(
      txHash: {in: $hash}
      options: {asc: "transaction.hash", offset: $offset, desc: "inputIndex"}
    ) {
      inputIndex
      address: inputAddress {
        address
      }
      value(in: USD)
      currency {
        symbol
      }
      block {
        height
        timestamp {
          iso8601
        }
      }
      transaction {
        hash
      }
      valueDecimal
    }
    outputs(
      txHash: {in: $hash}
      options: {asc: "transaction.hash", offset: $offset, desc: "outputIndex"}
    ) {
      outputIndex
      address: outputAddress {
        address
      }
      value(in: USD)
      currency {
        symbol
      }
      block {
        height
        timestamp {
          iso8601
        }
      }
      outputDirection
      transaction {
        hash
      }
      valueDecimal
    }
  }
}

Variables

{
  
  "offset": 0,
  "network": "cardano",
  "hash": ["74860843703095c5915587b0c9732932aeef0970f6c078befb0a717bff5001e6"] 
}

Similar queries