{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "QueryMsg", "oneOf": [ { "type": "object", "required": [ "get_all_families_paged" ], "properties": { "get_all_families_paged": { "type": "object", "properties": { "limit": { "type": [ "integer", "null" ], "format": "uint32", "minimum": 0.0 }, "start_after": { "type": [ "string", "null" ] } } } }, "additionalProperties": false }, { "type": "object", "required": [ "get_all_members_paged" ], "properties": { "get_all_members_paged": { "type": "object", "properties": { "limit": { "type": [ "integer", "null" ], "format": "uint32", "minimum": 0.0 }, "start_after": { "type": [ "string", "null" ] } } } }, "additionalProperties": false }, { "type": "object", "required": [ "get_family_by_head" ], "properties": { "get_family_by_head": { "type": "object", "required": [ "head" ], "properties": { "head": { "type": "string" } } } }, "additionalProperties": false }, { "type": "object", "required": [ "get_family_by_label" ], "properties": { "get_family_by_label": { "type": "object", "required": [ "label" ], "properties": { "label": { "type": "string" } } } }, "additionalProperties": false }, { "type": "object", "required": [ "get_family_members_by_head" ], "properties": { "get_family_members_by_head": { "type": "object", "required": [ "head" ], "properties": { "head": { "type": "string" } } } }, "additionalProperties": false }, { "type": "object", "required": [ "get_family_members_by_label" ], "properties": { "get_family_members_by_label": { "type": "object", "required": [ "label" ], "properties": { "label": { "type": "string" } } } }, "additionalProperties": false }, { "type": "object", "required": [ "get_contract_version" ], "properties": { "get_contract_version": { "type": "object" } }, "additionalProperties": false }, { "type": "object", "required": [ "get_rewarding_validator_address" ], "properties": { "get_rewarding_validator_address": { "type": "object" } }, "additionalProperties": false }, { "type": "object", "required": [ "get_state_params" ], "properties": { "get_state_params": { "type": "object" } }, "additionalProperties": false }, { "type": "object", "required": [ "get_state" ], "properties": { "get_state": { "type": "object" } }, "additionalProperties": false }, { "type": "object", "required": [ "get_rewarding_params" ], "properties": { "get_rewarding_params": { "type": "object" } }, "additionalProperties": false }, { "type": "object", "required": [ "get_current_interval_details" ], "properties": { "get_current_interval_details": { "type": "object" } }, "additionalProperties": false }, { "type": "object", "required": [ "get_rewarded_set" ], "properties": { "get_rewarded_set": { "type": "object", "properties": { "limit": { "type": [ "integer", "null" ], "format": "uint32", "minimum": 0.0 }, "start_after": { "type": [ "integer", "null" ], "format": "uint32", "minimum": 0.0 } } } }, "additionalProperties": false }, { "type": "object", "required": [ "get_mix_node_bonds" ], "properties": { "get_mix_node_bonds": { "type": "object", "properties": { "limit": { "type": [ "integer", "null" ], "format": "uint32", "minimum": 0.0 }, "start_after": { "type": [ "integer", "null" ], "format": "uint32", "minimum": 0.0 } } } }, "additionalProperties": false }, { "type": "object", "required": [ "get_mix_nodes_detailed" ], "properties": { "get_mix_nodes_detailed": { "type": "object", "properties": { "limit": { "type": [ "integer", "null" ], "format": "uint32", "minimum": 0.0 }, "start_after": { "type": [ "integer", "null" ], "format": "uint32", "minimum": 0.0 } } } }, "additionalProperties": false }, { "type": "object", "required": [ "get_unbonded_mix_nodes" ], "properties": { "get_unbonded_mix_nodes": { "type": "object", "properties": { "limit": { "type": [ "integer", "null" ], "format": "uint32", "minimum": 0.0 }, "start_after": { "type": [ "integer", "null" ], "format": "uint32", "minimum": 0.0 } } } }, "additionalProperties": false }, { "type": "object", "required": [ "get_unbonded_mix_nodes_by_owner" ], "properties": { "get_unbonded_mix_nodes_by_owner": { "type": "object", "required": [ "owner" ], "properties": { "limit": { "type": [ "integer", "null" ], "format": "uint32", "minimum": 0.0 }, "owner": { "type": "string" }, "start_after": { "type": [ "integer", "null" ], "format": "uint32", "minimum": 0.0 } } } }, "additionalProperties": false }, { "type": "object", "required": [ "get_unbonded_mix_nodes_by_identity_key" ], "properties": { "get_unbonded_mix_nodes_by_identity_key": { "type": "object", "required": [ "identity_key" ], "properties": { "identity_key": { "type": "string" }, "limit": { "type": [ "integer", "null" ], "format": "uint32", "minimum": 0.0 }, "start_after": { "type": [ "integer", "null" ], "format": "uint32", "minimum": 0.0 } } } }, "additionalProperties": false }, { "type": "object", "required": [ "get_owned_mixnode" ], "properties": { "get_owned_mixnode": { "type": "object", "required": [ "address" ], "properties": { "address": { "type": "string" } } } }, "additionalProperties": false }, { "type": "object", "required": [ "get_mixnode_details" ], "properties": { "get_mixnode_details": { "type": "object", "required": [ "mix_id" ], "properties": { "mix_id": { "type": "integer", "format": "uint32", "minimum": 0.0 } } } }, "additionalProperties": false }, { "type": "object", "required": [ "get_mixnode_rewarding_details" ], "properties": { "get_mixnode_rewarding_details": { "type": "object", "required": [ "mix_id" ], "properties": { "mix_id": { "type": "integer", "format": "uint32", "minimum": 0.0 } } } }, "additionalProperties": false }, { "type": "object", "required": [ "get_stake_saturation" ], "properties": { "get_stake_saturation": { "type": "object", "required": [ "mix_id" ], "properties": { "mix_id": { "type": "integer", "format": "uint32", "minimum": 0.0 } } } }, "additionalProperties": false }, { "type": "object", "required": [ "get_unbonded_mix_node_information" ], "properties": { "get_unbonded_mix_node_information": { "type": "object", "required": [ "mix_id" ], "properties": { "mix_id": { "type": "integer", "format": "uint32", "minimum": 0.0 } } } }, "additionalProperties": false }, { "type": "object", "required": [ "get_bonded_mixnode_details_by_identity" ], "properties": { "get_bonded_mixnode_details_by_identity": { "type": "object", "required": [ "mix_identity" ], "properties": { "mix_identity": { "type": "string" } } } }, "additionalProperties": false }, { "type": "object", "required": [ "get_layer_distribution" ], "properties": { "get_layer_distribution": { "type": "object" } }, "additionalProperties": false }, { "type": "object", "required": [ "get_gateways" ], "properties": { "get_gateways": { "type": "object", "properties": { "limit": { "type": [ "integer", "null" ], "format": "uint32", "minimum": 0.0 }, "start_after": { "type": [ "string", "null" ] } } } }, "additionalProperties": false }, { "type": "object", "required": [ "get_gateway_bond" ], "properties": { "get_gateway_bond": { "type": "object", "required": [ "identity" ], "properties": { "identity": { "type": "string" } } } }, "additionalProperties": false }, { "type": "object", "required": [ "get_owned_gateway" ], "properties": { "get_owned_gateway": { "type": "object", "required": [ "address" ], "properties": { "address": { "type": "string" } } } }, "additionalProperties": false }, { "type": "object", "required": [ "get_mixnode_delegations" ], "properties": { "get_mixnode_delegations": { "type": "object", "required": [ "mix_id" ], "properties": { "limit": { "type": [ "integer", "null" ], "format": "uint32", "minimum": 0.0 }, "mix_id": { "type": "integer", "format": "uint32", "minimum": 0.0 }, "start_after": { "type": [ "string", "null" ] } } } }, "additionalProperties": false }, { "type": "object", "required": [ "get_delegator_delegations" ], "properties": { "get_delegator_delegations": { "type": "object", "required": [ "delegator" ], "properties": { "delegator": { "type": "string" }, "limit": { "type": [ "integer", "null" ], "format": "uint32", "minimum": 0.0 }, "start_after": { "type": [ "array", "null" ], "items": [ { "type": "integer", "format": "uint32", "minimum": 0.0 }, { "type": "string" } ], "maxItems": 2, "minItems": 2 } } } }, "additionalProperties": false }, { "type": "object", "required": [ "get_delegation_details" ], "properties": { "get_delegation_details": { "type": "object", "required": [ "delegator", "mix_id" ], "properties": { "delegator": { "type": "string" }, "mix_id": { "type": "integer", "format": "uint32", "minimum": 0.0 }, "proxy": { "type": [ "string", "null" ] } } } }, "additionalProperties": false }, { "type": "object", "required": [ "get_all_delegations" ], "properties": { "get_all_delegations": { "type": "object", "properties": { "limit": { "type": [ "integer", "null" ], "format": "uint32", "minimum": 0.0 }, "start_after": { "type": [ "array", "null" ], "items": [ { "type": "integer", "format": "uint32", "minimum": 0.0 }, { "type": "string" } ], "maxItems": 2, "minItems": 2 } } } }, "additionalProperties": false }, { "type": "object", "required": [ "get_pending_operator_reward" ], "properties": { "get_pending_operator_reward": { "type": "object", "required": [ "address" ], "properties": { "address": { "type": "string" } } } }, "additionalProperties": false }, { "type": "object", "required": [ "get_pending_mix_node_operator_reward" ], "properties": { "get_pending_mix_node_operator_reward": { "type": "object", "required": [ "mix_id" ], "properties": { "mix_id": { "type": "integer", "format": "uint32", "minimum": 0.0 } } } }, "additionalProperties": false }, { "type": "object", "required": [ "get_pending_delegator_reward" ], "properties": { "get_pending_delegator_reward": { "type": "object", "required": [ "address", "mix_id" ], "properties": { "address": { "type": "string" }, "mix_id": { "type": "integer", "format": "uint32", "minimum": 0.0 }, "proxy": { "type": [ "string", "null" ] } } } }, "additionalProperties": false }, { "type": "object", "required": [ "get_estimated_current_epoch_operator_reward" ], "properties": { "get_estimated_current_epoch_operator_reward": { "type": "object", "required": [ "estimated_performance", "mix_id" ], "properties": { "estimated_performance": { "$ref": "#/definitions/Percent" }, "mix_id": { "type": "integer", "format": "uint32", "minimum": 0.0 } } } }, "additionalProperties": false }, { "type": "object", "required": [ "get_estimated_current_epoch_delegator_reward" ], "properties": { "get_estimated_current_epoch_delegator_reward": { "type": "object", "required": [ "address", "estimated_performance", "mix_id" ], "properties": { "address": { "type": "string" }, "estimated_performance": { "$ref": "#/definitions/Percent" }, "mix_id": { "type": "integer", "format": "uint32", "minimum": 0.0 }, "proxy": { "type": [ "string", "null" ] } } } }, "additionalProperties": false }, { "type": "object", "required": [ "get_pending_epoch_events" ], "properties": { "get_pending_epoch_events": { "type": "object", "properties": { "limit": { "type": [ "integer", "null" ], "format": "uint32", "minimum": 0.0 }, "start_after": { "type": [ "integer", "null" ], "format": "uint32", "minimum": 0.0 } } } }, "additionalProperties": false }, { "type": "object", "required": [ "get_pending_interval_events" ], "properties": { "get_pending_interval_events": { "type": "object", "properties": { "limit": { "type": [ "integer", "null" ], "format": "uint32", "minimum": 0.0 }, "start_after": { "type": [ "integer", "null" ], "format": "uint32", "minimum": 0.0 } } } }, "additionalProperties": false } ], "definitions": { "Decimal": { "description": "A fixed-point decimal value with 18 fractional digits, i.e. Decimal(1_000_000_000_000_000_000) == 1.0\n\nThe greatest possible value that can be represented is 340282366920938463463.374607431768211455 (which is (2^128 - 1) / 10^18)", "type": "string" }, "Percent": { "description": "Percent represents a value between 0 and 100% (i.e. between 0.0 and 1.0)", "allOf": [ { "$ref": "#/definitions/Decimal" } ] } } }