Cosmos message example

Returns 10 messages on cosmoshub, where date is 2023-05-03: block hash, block height, timestamp time, type, json, transaction hash and senders.

By Aleksey · saved 3 May 2023 · run 2 times · Bitquery API v1

What it returns

Filters

The query

query ($network: CosmosNetwork!) {
  cosmos(network: $network) {
    messages(options: {limit: 10} date: {is: "2023-05-03"}) {
      block {
        hash
        height
        timestamp {
          time
        }
      }
      type
      json
      transaction {
        hash
      }
      senders
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "cosmoshub",
  "from": "2023-05-03",
  "till": "2023-05-03T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries