Module state

Retrieves the entire insurance module's state

GEThttps://inj.nownodes.io/injective/insurance/v1beta1/module_state
Response

A successful response.

Body
stateobject

GenesisState defines the insurance module's genesis state.

Request
const response = await fetch('https://inj.nownodes.io/injective/insurance/v1beta1/module_state', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "state": {
    "params": {
      "default_redemption_notice_period_duration": "text"
    },
    "insurance_funds": [
      {
        "deposit_denom": "text",
        "insurance_pool_token_denom": "text",
        "redemption_notice_period_duration": "text",
        "balance": "text",
        "total_share": "text",
        "market_id": "text",
        "market_ticker": "text",
        "oracle_base": "text",
        "oracle_quote": "text",
        "oracle_type": "Unspecified",
        "expiry": "text"
      }
    ],
    "redemption_schedule": [
      {
        "id": "text",
        "marketId": "text",
        "redeemer": "text",
        "claimable_redemption_time": "2024-12-22T02:30:05.893Z",
        "redemption_amount": {
          "denom": "text",
          "amount": "text"
        }
      }
    ],
    "next_share_denom_id": "text",
    "next_redemption_schedule_id": "text"
  }
}