token transfers

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

By Aparna Sridhar · saved 3 January 2024 · run 7 times · Bitquery API v1

What it returns

Filters

The query

query ($hash: String!) {
  cardano(network: cardano) {
    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

{
  "hash": "f7eaaddb9e2b2659edf0b572f968b0e60a7bfade2b3bfde906dbf3ae1a09922b"
}

Similar queries