QueryModuleStateResponse is the response type for the Query/ExchangeModuleState RPC method.
GET /injective/exchange/v1beta1/module_state HTTP/1.1
Host: inj.nownodes.io
Accept: */*
{
"state": {
"params": {
"spot_market_instant_listing_fee": {
"denom": "text",
"amount": "text"
},
"derivative_market_instant_listing_fee": {
"denom": "text",
"amount": "text"
},
"default_spot_maker_fee_rate": "text",
"default_spot_taker_fee_rate": "text",
"default_derivative_maker_fee_rate": "text",
"default_derivative_taker_fee_rate": "text",
"default_initial_margin_ratio": "text",
"default_maintenance_margin_ratio": "text",
"default_funding_interval": "text",
"funding_multiple": "text",
"relayer_fee_share_rate": "text",
"default_hourly_funding_rate_cap": "text",
"default_hourly_interest_rate": "text",
"max_derivative_order_side_count": 1,
"inj_reward_staked_requirement_threshold": "text",
"trading_rewards_vesting_duration": "text",
"liquidator_reward_share_rate": "text",
"binary_options_market_instant_listing_fee": {
"denom": "text",
"amount": "text"
},
"atomic_market_order_access_level": "Nobody",
"spot_atomic_market_order_fee_multiplier": "text",
"derivative_atomic_market_order_fee_multiplier": "text",
"binary_options_atomic_market_order_fee_multiplier": "text",
"minimal_protocol_fee_rate": "text",
"is_instant_derivative_market_launch_enabled": true,
"post_only_mode_height_threshold": "text",
"margin_decrease_price_timestamp_threshold_seconds": "text",
"exchange_admins": [
"text"
],
"inj_auction_max_cap": "text"
},
"spot_markets": [
{
"ticker": "text",
"base_denom": "text",
"quote_denom": "text",
"maker_fee_rate": "text",
"taker_fee_rate": "text",
"relayer_fee_share_rate": "text",
"market_id": "text",
"status": "Unspecified",
"min_price_tick_size": "text",
"min_quantity_tick_size": "text",
"min_notional": "text",
"admin": "text",
"admin_permissions": 1
}
],
"derivative_markets": [
{
"ticker": "text",
"oracle_base": "text",
"oracle_quote": "text",
"oracle_type": "Unspecified",
"oracle_scale_factor": 1,
"quote_denom": "text",
"market_id": "text",
"initial_margin_ratio": "text",
"maintenance_margin_ratio": "text",
"maker_fee_rate": "text",
"taker_fee_rate": "text",
"relayer_fee_share_rate": "text",
"isPerpetual": true,
"status": "Unspecified",
"min_price_tick_size": "text",
"min_quantity_tick_size": "text",
"min_notional": "text",
"admin": "text",
"admin_permissions": 1
}
],
"spot_orderbook": [
{
"market_id": "text",
"isBuySide": true,
"orders": [
{
"order_info": {
"subaccount_id": "text",
"fee_recipient": "text",
"price": "text",
"quantity": "text",
"cid": "text"
},
"order_type": "UNSPECIFIED",
"fillable": "text",
"trigger_price": "text",
"order_hash": "Ynl0ZXM="
}
]
}
],
"derivative_orderbook": [
{
"market_id": "text",
"isBuySide": true,
"orders": [
{
"order_info": {
"subaccount_id": "text",
"fee_recipient": "text",
"price": "text",
"quantity": "text",
"cid": "text"
},
"order_type": "UNSPECIFIED",
"margin": "text",
"fillable": "text",
"trigger_price": "text",
"order_hash": "Ynl0ZXM="
}
]
}
],
"balances": [
{
"subaccount_id": "text",
"denom": "text",
"deposits": {
"available_balance": "text",
"total_balance": "text"
}
}
],
"positions": [
{
"subaccount_id": "text",
"market_id": "text",
"position": {
"isLong": true,
"quantity": "text",
"entry_price": "text",
"margin": "text",
"cumulative_funding_entry": "text"
}
}
],
"subaccount_trade_nonces": [
{
"subaccount_id": "text",
"subaccount_trade_nonce": {
"nonce": 1
}
}
],
"expiry_futures_market_info_state": [
{
"market_id": "text",
"market_info": {
"market_id": "text",
"expiration_timestamp": "text",
"twap_start_timestamp": "text",
"expiration_twap_start_price_cumulative": "text",
"settlement_price": "text"
}
}
],
"perpetual_market_info": [
{
"market_id": "text",
"hourly_funding_rate_cap": "text",
"hourly_interest_rate": "text",
"next_funding_timestamp": "text",
"funding_interval": "text"
}
],
"perpetual_market_funding_state": [
{
"market_id": "text",
"funding": {
"cumulative_funding": "text",
"cumulative_price": "text",
"last_timestamp": "text"
}
}
],
"derivative_market_settlement_scheduled": [
{
"market_id": "text",
"settlement_price": "text"
}
],
"is_spot_exchange_enabled": true,
"is_derivatives_exchange_enabled": true,
"trading_reward_campaign_info": {
"campaign_duration_seconds": "text",
"quote_denoms": [
"text"
],
"trading_reward_boost_info": {
"boosted_spot_market_ids": [
"text"
],
"spot_market_multipliers": [
{
"maker_points_multiplier": "text",
"taker_points_multiplier": "text"
}
],
"boosted_derivative_market_ids": [
"text"
],
"derivative_market_multipliers": [
{
"maker_points_multiplier": "text",
"taker_points_multiplier": "text"
}
]
},
"disqualified_market_ids": [
"text"
]
},
"trading_reward_pool_campaign_schedule": [
{
"start_timestamp": "text",
"max_campaign_rewards": [
{
"denom": "text",
"amount": "text"
}
]
}
],
"trading_reward_campaign_account_points": [
{
"account": "text",
"points": "text"
}
],
"fee_discount_schedule": {
"bucket_count": "text",
"bucket_duration": "text",
"quote_denoms": [
"text"
],
"tier_infos": [
{
"maker_discount_rate": "text",
"taker_discount_rate": "text",
"staked_amount": "text",
"volume": "text"
}
],
"disqualified_market_ids": [
"text"
]
},
"fee_discount_account_tier_ttl": [
{
"account": "text",
"tier_ttl": {
"tier": "text",
"ttl_timestamp": "text"
}
}
],
"fee_discount_bucket_volume_accounts": [
{
"bucket_start_timestamp": "text",
"account_volume": [
{
"account": "text",
"volume": "text"
}
]
}
],
"is_first_fee_cycle_finished": true,
"pending_trading_reward_pool_campaign_schedule": [
{
"start_timestamp": "text",
"max_campaign_rewards": [
{
"denom": "text",
"amount": "text"
}
]
}
],
"pending_trading_reward_campaign_account_points": [
{
"reward_pool_start_timestamp": "text",
"account_points": [
{
"account": "text",
"points": "text"
}
]
}
],
"rewards_opt_out_addresses": [
"text"
],
"historical_trade_records": [
{
"market_id": "text",
"latest_trade_records": [
{
"timestamp": "text",
"price": "text",
"quantity": "text"
}
]
}
],
"binary_options_markets": [
{
"ticker": "text",
"oracle_symbol": "text",
"oracle_provider": "text",
"oracle_type": "Unspecified",
"oracle_scale_factor": 1,
"expiration_timestamp": "text",
"settlement_timestamp": "text",
"admin": "text",
"quote_denom": "text",
"market_id": "text",
"maker_fee_rate": "text",
"taker_fee_rate": "text",
"relayer_fee_share_rate": "text",
"status": "Unspecified",
"min_price_tick_size": "text",
"min_quantity_tick_size": "text",
"settlement_price": "text",
"min_notional": "text",
"admin_permissions": 1
}
],
"binary_options_market_ids_scheduled_for_settlement": [
"text"
],
"spot_market_ids_scheduled_to_force_close": [
"text"
],
"denom_decimals": [
{
"denom": "text",
"decimals": "text"
}
],
"conditional_derivative_orderbooks": [
{
"market_id": "text",
"limit_buy_orders": [
{
"order_info": {
"subaccount_id": "text",
"fee_recipient": "text",
"price": "text",
"quantity": "text",
"cid": "text"
},
"order_type": "UNSPECIFIED",
"margin": "text",
"fillable": "text",
"trigger_price": "text",
"order_hash": "Ynl0ZXM="
}
],
"market_buy_orders": [
{
"order_info": {
"subaccount_id": "text",
"fee_recipient": "text",
"price": "text",
"quantity": "text",
"cid": "text"
},
"order_type": "UNSPECIFIED",
"margin": "text",
"margin_hold": "text",
"trigger_price": "text",
"order_hash": "Ynl0ZXM="
}
],
"limit_sell_orders": [
{
"order_info": {
"subaccount_id": "text",
"fee_recipient": "text",
"price": "text",
"quantity": "text",
"cid": "text"
},
"order_type": "UNSPECIFIED",
"margin": "text",
"fillable": "text",
"trigger_price": "text",
"order_hash": "Ynl0ZXM="
}
],
"market_sell_orders": [
{
"order_info": {
"subaccount_id": "text",
"fee_recipient": "text",
"price": "text",
"quantity": "text",
"cid": "text"
},
"order_type": "UNSPECIFIED",
"margin": "text",
"margin_hold": "text",
"trigger_price": "text",
"order_hash": "Ynl0ZXM="
}
]
}
],
"market_fee_multipliers": [
{
"market_id": "text",
"fee_multiplier": "text"
}
],
"orderbook_sequences": [
{
"sequence": "text",
"market_id": "text"
}
],
"subaccount_volumes": [
{
"subaccount_id": "text",
"market_volumes": [
{
"market_id": "text",
"volume": {
"maker_volume": "text",
"taker_volume": "text"
}
}
]
}
],
"market_volumes": [
{
"market_id": "text",
"volume": {
"maker_volume": "text",
"taker_volume": "text"
}
}
],
"grant_authorizations": [
{
"granter": "text",
"total_grant_amount": "text",
"last_delegations_checked_time": "text",
"grants": [
{
"grantee": "text",
"amount": "text"
}
]
}
],
"active_grants": [
{
"grantee": "text",
"active_grant": {
"granter": "text",
"amount": "text"
}
}
]
}
}