Oracle

Actives returns all active denoms

get
Authorizations
Responses
200
A successful response.
application/json
get
GET /terra/oracle/v1beta1/denoms/actives HTTP/1.1
Host: lunc.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "actives": [
    "text"
  ]
}

ExchangeRates returns exchange rates of all denoms

get
Authorizations
Responses
200
A successful response.
application/json
get
GET /terra/oracle/v1beta1/denoms/exchange_rates HTTP/1.1
Host: lunc.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "exchange_rates": [
    {
      "denom": "text",
      "amount": "text"
    }
  ]
}

TobinTaxes returns tobin taxes of all denoms

get
Authorizations
Responses
200
A successful response.
application/json
get
GET /terra/oracle/v1beta1/denoms/tobin_taxes HTTP/1.1
Host: lunc.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "tobin_taxes": [
    {
      "name": "text",
      "tobin_tax": "text"
    }
  ]
}

VoteTargets returns all vote target denoms

get
Authorizations
Responses
200
A successful response.
application/json
get
GET /terra/oracle/v1beta1/denoms/vote_targets HTTP/1.1
Host: lunc.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "vote_targets": [
    "text"
  ]
}

ExchangeRate returns exchange rate of a denom

get
Authorizations
Path parameters
denomstringRequired

denom defines the denomination to query for.

Responses
200
A successful response.
application/json
get
GET /terra/oracle/v1beta1/denoms/{denom}/exchange_rate HTTP/1.1
Host: lunc.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "exchange_rate": "text"
}

TobinTax returns tobin tax of a denom

get
Authorizations
Path parameters
denomstringRequired

denom defines the denomination to query for.

Responses
200
A successful response.
application/json
get
GET /terra/oracle/v1beta1/denoms/{denom}/tobin_tax HTTP/1.1
Host: lunc.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "tobin_tax": "text"
}

Params queries all parameters.

get
Authorizations
Responses
200
A successful response.
application/json
get
GET /terra/oracle/v1beta1/params HTTP/1.1
Host: lunc.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "params": {
    "vote_period": "text",
    "vote_threshold": "text",
    "reward_band": "text",
    "reward_distribution_window": "text",
    "whitelist": [
      {
        "name": "text",
        "tobin_tax": "text"
      }
    ],
    "slash_fraction": "text",
    "slash_window": "text",
    "min_valid_per_window": "text"
  }
}

AggregateVote returns an aggregate vote of a validator

get
Authorizations
Path parameters
validator_addrstringRequired

validator defines the validator address to query for.

Responses
200
A successful response.
application/json
get
GET /terra/oracle/v1beta1/valdiators/{validator_addr}/aggregate_vote HTTP/1.1
Host: lunc.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "aggregate_vote": {
    "exchange_rate_tuples": [
      {
        "denom": "text",
        "exchange_rate": "text"
      }
    ],
    "voter": "text"
  }
}

AggregatePrevotes returns aggregate prevotes of all validators

get
Authorizations
Responses
200
A successful response.
application/json
get
GET /terra/oracle/v1beta1/validators/aggregate_prevotes HTTP/1.1
Host: lunc.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "aggregate_prevotes": [
    {
      "hash": "text",
      "voter": "text",
      "submit_block": "text"
    }
  ]
}

AggregateVotes returns aggregate votes of all validators

get
Authorizations
Responses
200
A successful response.
application/json
get
GET /terra/oracle/v1beta1/validators/aggregate_votes HTTP/1.1
Host: lunc.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "aggregate_votes": [
    {
      "exchange_rate_tuples": [
        {
          "denom": "text",
          "exchange_rate": "text"
        }
      ],
      "voter": "text"
    }
  ]
}

AggregatePrevote returns an aggregate prevote of a validator

get
Authorizations
Path parameters
validator_addrstringRequired

validator defines the validator address to query for.

Responses
200
A successful response.
application/json
get
GET /terra/oracle/v1beta1/validators/{validator_addr}/aggregate_prevote HTTP/1.1
Host: lunc.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "aggregate_prevote": {
    "hash": "text",
    "voter": "text",
    "submit_block": "text"
  }
}

FeederDelegation returns feeder delegation of a validator

get
Authorizations
Path parameters
validator_addrstringRequired

validator defines the validator address to query for.

Responses
200
A successful response.
application/json
get
GET /terra/oracle/v1beta1/validators/{validator_addr}/feeder HTTP/1.1
Host: lunc.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "feeder_addr": "text"
}

MissCounter returns oracle miss counter of a validator

get
Authorizations
Path parameters
validator_addrstringRequired

validator defines the validator address to query for.

Responses
200
A successful response.
application/json
get
GET /terra/oracle/v1beta1/validators/{validator_addr}/miss HTTP/1.1
Host: lunc.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
  "miss_counter": "text"
}