Terra Market Module Transfers

Returns 1000 transfers on terra, where date since 2022-05-01 and date till 2022-05-31, sorted by value, highest first: value, count, currency symbol, sender address, receiver address, transaction hash and iso8601.

By js · saved 25 June 2024 · Bitquery API v1

What it returns

Filters

The query

query ($network: CosmosNetwork!, $address: String!, $from: ISO8601DateTime, $till: ISO8601DateTime, $limit: Int!, $offset: Int!) {
  cosmos(network: $network) {
    transfers(
      date: {since: $from, till: $till}
      any: [{receiver: {is: $address}}, {sender: {is: $address}}]
      options: {limit: $limit, offset: $offset, desc: ["value"]}
    ) {
      sum_in: value(calculate: sum, receiver: {is: $address})
      sum_out: value(calculate: sum, sender: {is: $address})
      count_in: count(receiver: {is: $address})
      count_out: count(sender: {is: $address})
      currency {
        symbol
      }
      sender {
        address
      }
      receiver {
        address
      }
      value
      transaction {
        hash
      }
      block {
        timestamp {
          iso8601
        }
      }
    }
  }
}

Variables

{
  "limit": 1000,
  "offset": 0,
  "network": "terra",
  "address": "terra1untf85jwv3kt0puyyc39myxjvplagr3wstgs5s",
  "from": "2022-05-01",
  "till": "2022-05-31T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries