Example cardano

Returns 10 transactions and inputs on Cardano, where tx hash is e310b6…ae1d, sorted by input index: deposit value, deposit value decimal, withdrawal value, withdrawal value decimal, fee value, fee value decimal, input value and 10 more fields.

By Aleksey · saved 11 November 2021 · run 1 time · Bitquery API v1

What it returns

Filters

The query

query ($network: CardanoNetwork!, $hash: String!, $limit: Int!, $offset: Int!) {
  cardano(network: $network) {
    transactions(txHash: {is: $hash}) {
      depositValue
      depositValueDecimal
      withdrawalValue
      withdrawalValueDecimal
      feeValue
      feeValueDecimal
      inputValue
      inputValueDecimal
      outputValue
      outputValueDecimal
    }
    inputs(
      txHash: {is: $hash}
      options: {asc: "inputIndex", limit: $limit, offset: $offset}
    ) {
      inputIndex
      address: inputAddress {
        address
        annotation
      }
      value
      valueDecimal
      currency {
        symbol
      }
    }
    outputs(txHash: {is: $hash}, options: {limit: $limit, offset: $offset}) {
      address: outputAddress {
        address
        annotation
      }
      value
      valueDecimal
      currency {
        symbol
      }
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "cardano",
  "hash": "e310b695949428d7abe7f3ec0b97b03810e5ae38b21ac7dadd534adc4965ae1d"
}

Similar queries