tx by time

Returns the latest 10 transactions on cosmoshub, where time since 2025-05-09 and time till 2025-05-09: timestamp time, block height and hash.

By Aleksey · saved 9 May 2025 · run 1 time · Bitquery API v1

What it returns

Filters

The query

query ($network: CosmosNetwork!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  cosmos(network: $network) {
    transactions(
      options: {desc: "block.height", limit: $limit, offset: $offset}
      time: {since: $from, till: $till}
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      hash
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "cosmoshub",
  "from": "2025-05-09T07:39:07.000Z",
  "till": "2025-05-09T08:09:07.999Z",
  "dateFormat": "%Y-%m-%d"
}

Similar queries