InFlow | Cardano

Returns 10 inputs on Cardano, where input address is addr1z…5plm, date since 2022-10-19 and date till 2022-10-26, sorted by block height transaction index, highest first: block height, timestamp time, output transaction hash, output transaction index, transaction hash, transaction index, input index and 2 more fields.

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

What it returns

Filters

The query

query ($network: CardanoNetwork!, $address: String!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  cardano(network: $network) {
    inputs(
      date: {since: $from, till: $till}
      inputAddress: {is: $address}
      options: {desc: ["block.height", "transaction.index"], limit: $limit, offset: $offset}
    ) {
      block {
        height
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
      }
      outputTransaction {
        hash
        index
      }
      transaction {
        hash
        index
      }
      inputIndex
      value
      value_usd: value(in: USD)
      currency {
        symbol
      }
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "address": "addr1zxgx3far7qygq0k6epa0zcvcvrevmn0ypsnfsue94nsn3tvpw288a4x0xf8pxgcntelxmyclq83s0ykeehchz2wtspks905plm",
  "network": "cardano",
  "from": "2022-10-19",
  "till": "2022-10-26T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries