params
GET
/sei-protocol/sei-chain/oracle/params
Params queries all parameters.
Responses
Properties
params
object
params defines the parameters of the module.
Properties
vote_period
string
The number of blocks per voting window, at the end of the vote period, the oracle votes are assessed and exchange rates are calculated. If the vote period is 1 this is equivalent to having oracle votes assessed and exchange rates calculated in each block.
vote_threshold
string
reward_band
string
whitelist
array
slash_fraction
string
slash_window
string
The interval in blocks at which the oracle module will assess validator penalty counters, and penalize validators with too poor performance.
min_valid_per_window
string
The minimum percentage of voting windows for which a validator must have `success`es in order to not be penalized at the end of the slash window.
lookback_duration
string
Properties
code
integer
message
string
details
array
Example Usage
import { getQueryClient } from '@sei-js/cosmjs';
const queryClient = await getQueryClient("YOUR_RPC_URL");
const { params } = queryClient.sei-protocol.sei-chain.oracle;
const params: QueryParamsRequest = {};
const response: QueryParamsResponseSDKType = await params(params);