Inputs and Address | Cardano

Returns one input on Cardano, where tx hash is d574b0…2f4f and address is addr1q…32t7, sorted by input index: input index, input address address, annotation, value, currency symbol, balance value, currency address and 2 more fields.

By lukas · saved 26 October 2022 · run 2 times · Bitquery API v1

What it returns

Filters

The query

{
  cardano(network: cardano) {
    inputs(
      txHash: {is: "d574b0f749df38cd80f4f525ca3f1fcd95474166d4aad766a3944c7d7b2d2f4f"}
      options: {asc: "inputIndex", limit: 1, offset: 0}
    ) {
      inputIndex
      address: inputAddress {
        address
        annotation
      }
      value
      value_usd: value(in: USD)
      currency {
        symbol
      }
    }
    address(
      address: {is: "addr1qyqr9f7f5gq6hxxmqp0ct2077myge4gf5xawrs96tz6fcujcurez03lhae8efkckhxlkqupt3mejdr4367p8fpczx7vshv32t7"}
    ) {
      balance {
        value
        currency {
          address
          decimals
          name
          symbol
        }
      }
    }
  }
}

Similar queries