cardano_nd

Returns the latest 25 transactions and address details on Cardano, where address is addr1z…3z70, time since 2024-01-01 and time till 2024-07-08: timestamp time, block height, input value, output count, input count, index, hash and 2 more fields.

By Oluwatomisin · saved 9 July 2024 · run 2 times · Bitquery API v1

What it returns

Filters

The query

query ($network: CardanoNetwork!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  cardano(network: $network) {
    transactions(
      options: {desc: ["block.height", "index"], limit: $limit, offset: $offset}
      time: {since: $from, till: $till}
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      inputValue
      input_value_usd: inputValue(in: USD)
      outputCount
      inputCount
      index
      hash
      feeValue
      fee_value_usd: feeValue(in: USD)
    }
    address(
      address: {is: "addr1zxn9efv2f6w82hagxqtn62ju4m293tqvw0uhmdl64ch8uw6j2c79gy9l76sdg0xwhd7r0c0kna0tycz4y5s6mlenh8pq6s3z70"}
    ) {
      address {
        address
      }
    }
  }
}

Variables

{
  "limit": 25,
  "offset": 25,
  "network": "cardano",
  "from": "2024-01-01T00:00:00.000Z",
  "till": "2024-07-08T23:59:59.999Z",
  "dateFormat": "%Y-%m-%d"
}

Similar queries