cardanousers2

Returns 10 inputs and outputs on Cardano, where tx hash is 48d000…d0e5, time since 2024-01-13 and time till 2024-01-13, sorted by output index: input index, input address address, annotation, value, currency symbol, count, output index and 2 more fields.

By Aparna Sridhar · saved 13 January 2024 · run 6 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", limit: 10, offset: 0}
      time: {since: "2024-01-13", till: "2024-01-13"}
    ) {
      inputIndex
      address: inputAddress {
        address
        annotation
      }
      value(calculate: sum)
      value_usd: value(in: USD)
      currency {
        symbol
      }
      count(uniq: addresses)
    }
    outputs(
      txHash: {is: $hash}
      options: {asc: "outputIndex", limit: 10, offset: 0}
    ) {
      outputIndex
      address: outputAddress {
        address
        annotation
      }
      value(calculate: sum)
      value_usd: value(in: USD)
      currency {
        symbol
      }
      outputDirection
      count(uniq: addresses)
    }
  }
}

Variables

{
  "network": "cardano",
  "hash": "48d000c877338a31b5af7a8263637f12fe26d01a636a86dd90e836b0530fd0e5"
}

Similar queries