cosmos transfers api

Returns the latest 10 transfers on cosmoshub, where date since 2022-06-09 and date till 2022-06-16: timestamp time, block height, sender address, receiver address, currency symbol, message index, transaction hash and 6 more fields.

By gaurav · saved 16 June 2022 · run 27 times · Bitquery API v1

What it returns

Filters

The query

query ($network: CosmosNetwork!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  cosmos(network: $network) {
    transfers(
      options: {desc: "block.height", limit: $limit, offset: $offset}
      date: {since: $from, till: $till}
    ) {
      block {
        timestamp {
          time
        }
        height
      }
      sender {
        address
      }
      receiver {
        address
      }
      currency {
        symbol
      }
      messageIndex
      transaction {
        hash
      }
      type
      valueDecimal
      messageType
      value
      currency {
        address
      }
      messageType
      messageIndex
      transaction {
        signer {
          address
        }
      }
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "cosmoshub",
  "from": "2022-06-09",
  "till": "2022-06-16T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries