cardano_d_tr

Returns the latest 25 transactions on Cardano: hash, block height and count big int.

By Oluwatomisin · saved 9 July 2024 · run 1 time · Bitquery API v1

What it returns

The query

query CardanoTransactionHashesByAddress($address: String!, $since: ISO8601DateTime, $untill: ISO8601DateTime, $limit: Int, $offset: Int) {
  cardano(network: cardano) {
    transactions(
      options: {desc: "block.height", groupBy: false, limit: $limit, offset: $offset}
      time: {since: $since, till: $untill}
      any: [{inputAddress: {is: $address}}, {outputAddress: {is: $address}}]
    ) {
      hash
      block {
        height
      }
    }
    totalCount: transactions(
      options: {groupBy: false}
      time: {since: $since, till: $untill}
      any: [{inputAddress: {is: $address}}, {outputAddress: {is: $address}}]
    ) {
      value: countBigInt
    }
  }
}

Variables

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

Similar queries