oracle endpoints
Last updated 29 days ago
GET /kiichain/oracle/params HTTP/1.1 Host: lcd.uno.sentry.testnet.v3.kiivalidator.com Accept: */*
A successful response.
{ "params": { "vote_period": "text", "vote_threshold": "text", "reward_band": "text", "whitelist": [ { "name": "text" } ], "slash_fraction": "text", "slash_window": "text", "min_valid_per_window": "text", "lookback_duration": "text" } }
GET /kiichain/oracle/denoms/exchange_rates HTTP/1.1 Host: lcd.uno.sentry.testnet.v3.kiivalidator.com Accept: */*
{ "denom_oracle_exchange_rate": [ { "denom": "text", "oracle_exchange_rate": { "exchange_rate": "text", "last_update": "text", "last_update_timestamp": "text" } } ] }
GET /kiichain/oracle/denoms/actives HTTP/1.1 Host: lcd.uno.sentry.testnet.v3.kiivalidator.com Accept: */*
{ "actives": [ "text" ] }
validator address to query for
GET /kiichain/oracle/validators/{validator_addr}/feeder HTTP/1.1 Host: lcd.uno.sentry.testnet.v3.kiivalidator.com Accept: */*
{ "feed_addr": "text" }
GET /kiichain/oracle/validators/{validator_addr}/vote_penalty_counter HTTP/1.1 Host: lcd.uno.sentry.testnet.v3.kiivalidator.com Accept: */*
{ "vote_penalty_counter": { "miss_count": "text", "abstain_count": "text", "success_count": "text" } }
GET /kiichain/oracle/denoms/price_snapshot_history HTTP/1.1 Host: lcd.uno.sentry.testnet.v3.kiivalidator.com Accept: */*
{ "price_snapshot": [ { "snapshot_timestamp": "text", "price_snapshot_items": [ { "denom": "text", "oracle_exchange_rate": { "exchange_rate": "text", "last_update": "text", "last_update_timestamp": "text" } } ] } ] }
GET /kiichain/oracle/denoms/vote_targets HTTP/1.1 Host: lcd.uno.sentry.testnet.v3.kiivalidator.com Accept: */*
{ "vote_targets": [ "text" ] }
GET /kiichain/oracle/slash_window HTTP/1.1 Host: lcd.uno.sentry.testnet.v3.kiivalidator.com Accept: */*
{ "window_progress": "text" }