cosmos transaction of an address

Returns the latest 10 transactions on cosmoshub, where signer is cosmos…k4pg, time since 2024-08-08 and time till 2024-08-08: timestamp time, block height, hash, signer address, fee, fee currency name and fee decimal.

By gaurav · saved 8 August 2024 · run 2 times · Bitquery API v1

What it returns

Filters

The query

query ($network: CosmosNetwork!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  cosmos(network: $network) {
    transactions(
      signer: {is: "cosmos1lt62rgjjf7d3s739depzq6nq5h4djlq4vgk4pg"}
      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
      signer {
        address
      }
      fee
      feeCurrency {
        name
      }
      feeDecimal
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "cosmoshub",
  "from": "2024-08-08T17:23:01.000Z",
  "till": "2024-08-08T17:53:01.999Z",
  "dateFormat": "%Y-%m-%d"
}

Similar queries