A successful response.
GenesisState defines the oracle module's genesis state.
const response = await fetch('https://inj.nownodes.io/injective/oracle/v1beta1/module_state', {
method: 'GET',
headers: {},
});
const data = await response.json();
{
"state": {
"params": {
"pyth_contract": "text"
},
"band_relayers": [
"text"
],
"band_price_states": [
{
"symbol": "text",
"rate": "text",
"resolve_time": "text",
"request_ID": "text",
"price_state": {
"price": "text",
"cumulative_price": "text",
"timestamp": "text"
}
}
],
"price_feed_price_states": [
{
"base": "text",
"quote": "text",
"price_state": {
"price": "text",
"cumulative_price": "text",
"timestamp": "text"
},
"relayers": [
"text"
]
}
],
"coinbase_price_states": [
{
"kind": "text",
"timestamp": "text",
"key": "text",
"value": "text",
"price_state": {
"price": "text",
"cumulative_price": "text",
"timestamp": "text"
}
}
],
"band_ibc_price_states": [
{
"symbol": "text",
"rate": "text",
"resolve_time": "text",
"request_ID": "text",
"price_state": {
"price": "text",
"cumulative_price": "text",
"timestamp": "text"
}
}
],
"band_ibc_oracle_requests": [
{
"request_id": "text",
"oracle_script_id": "text",
"symbols": [
"text"
],
"ask_count": "text",
"min_count": "text",
"fee_limit": [
{
"denom": "text",
"amount": "text"
}
],
"prepare_gas": "text",
"execute_gas": "text",
"min_source_count": "text"
}
],
"band_ibc_params": {
"band_ibc_enabled": false,
"ibc_request_interval": "text",
"ibc_source_channel": "text",
"ibc_version": "text",
"ibc_port_id": "text",
"legacy_oracle_ids": [
"text"
]
},
"band_ibc_latest_client_id": "text",
"calldata_records": [
{
"client_id": "text",
"calldata": "Ynl0ZXM="
}
],
"band_ibc_latest_request_id": "text",
"chainlink_price_states": [
{
"feed_id": "text",
"answer": "text",
"timestamp": "text",
"price_state": {
"price": "text",
"cumulative_price": "text",
"timestamp": "text"
}
}
],
"historical_price_records": [
{
"oracle": "Unspecified",
"symbol_id": "text",
"latest_price_records": [
{
"timestamp": "text",
"price": "text"
}
]
}
],
"provider_states": [
{
"provider_info": {
"provider": "text",
"relayers": [
"text"
]
},
"provider_price_states": [
{
"symbol": "text",
"state": {
"price": "text",
"cumulative_price": "text",
"timestamp": "text"
}
}
]
}
],
"pyth_price_states": [
{
"price_id": "text",
"ema_price": "text",
"ema_conf": "text",
"conf": "text",
"publish_time": "text",
"price_state": {
"price": "text",
"cumulative_price": "text",
"timestamp": "text"
}
}
],
"stork_price_states": [
{
"timestamp": "text",
"symbol": "text",
"value": "text",
"price_state": {
"price": "text",
"cumulative_price": "text",
"timestamp": "text"
}
}
],
"stork_publishers": [
"text"
]
}
}