A successful response.
GenesisState defines the OCR module's genesis state.
const response = await fetch('https://inj.nownodes.io/chainlink/ocr/v1beta1/module_state', {
method: 'GET',
headers: {},
});
const data = await response.json();
{
"state": {
"params": {
"link_denom": "text",
"payout_block_interval": "text",
"module_admin": "text"
},
"feed_configs": [
{
"signers": [
"text"
],
"transmitters": [
"text"
],
"f": 0,
"onchain_config": "Ynl0ZXM=",
"offchain_config_version": "text",
"offchain_config": "Ynl0ZXM=",
"module_params": {
"feed_id": "text",
"min_answer": "text",
"max_answer": "text",
"link_per_observation": "text",
"link_per_transmission": "text",
"link_denom": "text",
"unique_reports": false,
"description": "text",
"feed_admin": "text",
"billing_admin": "text"
}
}
],
"latest_epoch_and_rounds": [
{
"feed_id": "text",
"epoch_and_round": {
"epoch": "text",
"round": "text"
}
}
],
"feed_transmissions": [
{
"feed_id": "text",
"transmission": {
"answer": "text",
"observations_timestamp": "text",
"transmission_timestamp": "text"
}
}
],
"latest_aggregator_round_ids": [
{
"feed_id": "text",
"aggregator_round_id": "text"
}
],
"reward_pools": [
{
"feed_id": "text",
"amount": {
"denom": "text",
"amount": "text"
}
}
],
"feed_observation_counts": [
{
"feed_id": "text",
"counts": [
{
"address": "text",
"count": "text"
}
]
}
],
"feed_transmission_counts": [
{
"feed_id": "text",
"counts": [
{
"address": "text",
"count": "text"
}
]
}
],
"pending_payeeships": [
{
"feed_id": "text",
"transmitter": "text",
"proposed_payee": "text"
}
]
}
}