{
    "RewardEra": "u32",
    "UnclaimedRewardInfo": {
        "reward_era": "RewardEra",
        "expires_at_block": "BlockNumber",
        "staked_amount": "Balance",
        "eligible_amount": "Balance",
        "earned_amount": "Balance"
    },
    "RpcEvent": {
        "phase": "Option<u32>",
        "pallet": "u8",
        "event": "u8",
        "data": "Vec<u8>"
    },
    "SpConsensusSlotsSlotDuration": "u64",
    "FrequencyRuntimeRuntimeCall": "Call",
    "HandleSuffix": "u16",
    "HandleResponse": {
        "base_handle": "String",
        "canonical_base": "String",
        "suffix": "u16"
    },
    "PresumptiveSuffixesResponse": {
        "suffixes": "Vec<HandleSuffix>",
        "base_handle": "String"
    },
    "BlockPaginationRequest": {
        "from_block": "BlockNumber",
        "from_index": "u32",
        "to_block": "BlockNumber",
        "page_size": "u32"
    },
    "MessageResponse": {
        "schema_id": "SchemaId",
        "payload": "Option<Vec<u8>>",
        "cid": "Option<Vec<u8>>",
        "provider_msa_id": "MessageSourceId",
        "msa_id": "Option<MessageSourceId>",
        "index": "u16",
        "block_number": "BlockNumber",
        "payload_length": "Option<u32>"
    },
    "BlockPaginationResponseMessage": {
        "content": "Vec<MessageResponse>",
        "has_next": "bool",
        "next_block": "Option<BlockNumber>",
        "next_index": "Option<u32>"
    },
    "MessageSourceId": "u64",
    "DelegatorId": "MessageSourceId",
    "ProviderId": "MessageSourceId",
    "KeyInfoResponse": {
        "msa_keys": "Vec<AccountId>",
        "msa_id": "MessageSourceId"
    },
    "SchemaGrantResponse": {
        "schema_id": "IntentId",
        "revoked_at": "BlockNumber",
        "explicit_revoked_at": "BlockNumber"
    },
    "DelegationGrant": {
        "granted_id": "IntentId",
        "revoked_at": "BlockNumber",
        "explicit_revoked_at": "BlockNumber"
    },
    "DelegationResponse": {
        "provider_id": "ProviderId",
        "permissions": "Vec<DelegationGrant>",
        "revoked_at": "BlockNumber"
    },
    "CommonPrimitivesMsaDelegatorId": "u64",
    "CommonPrimitivesMsaProviderId": "u64",
    "SchemaId": "u16",
    "SchemaModel": "Vec<u8>",
    "SchemaVersion": "u8",
    "SchemaResponse": {
        "schema_id": "SchemaId",
        "model": "SchemaModel",
        "model_type": "ModelType",
        "payload_location": "PayloadLocation",
        "settings": "Vec<SchemaSetting>"
    },
    "IntentGroupId": "u16",
    "IntentGroupResponse": {
        "intent_group_id": "IntentGroupId",
        "intent_ids": "Vec<IntentId>"
    },
    "IntentId": "u16",
    "IntentResponse": {
        "intent_id": "IntentId",
        "payload_location": "PayloadLocation",
        "settings": "Vec<IntentSetting>",
        "schema_ids": "Option<Vec<SchemaId>>"
    },
    "IntentSetting": {
        "_enum": [
            "AppendOnly",
            "SignatureRequired"
        ]
    },
    "MappedEntityIdentifier": {
        "_enum": {
            "Intent": "IntentId",
            "IntentGroup": "IntentGroupId"
        }
    },
    "ModelType": {
        "_enum": [
            "AvroBinary",
            "Parquet"
        ]
    },
    "NameLookupResponse": {
        "name": "String",
        "entity_id": "MappedEntityIdentifier"
    },
    "PayloadLocation": {
        "_enum": [
            "OnChain",
            "IPFS",
            "Itemized",
            "Paginated"
        ]
    },
    "SchemaInfoResponse": {
        "schema_id": "SchemaId",
        "intent_id": "IntentId",
        "model_type": "ModelType",
        "status": "SchemaStatus",
        "payload_location": "PayloadLocation",
        "settings": "Vec<IntentSetting>"
    },
    "SchemaResponseV2": {
        "schema_id": "SchemaId",
        "intent_id": "IntentId",
        "model": "SchemaModel",
        "model_type": "ModelType",
        "payload_location": "PayloadLocation",
        "settings": "Vec<IntentSetting>",
        "status": "SchemaStatus"
    },
    "SchemaSetting": {
        "_enum": [
            "AppendOnly",
            "SignatureRequired"
        ]
    },
    "SchemaStatus": {
        "_enum": [
            "Active",
            "Deprecated",
            "Unsupported"
        ]
    },
    "SchemaVersionResponse": {
        "schema_name": "String",
        "schema_version": "SchemaVersion",
        "schema_id": "SchemaId"
    },
    "PageId": "u16",
    "PageHash": "u32",
    "PageNonce": "u16",
    "ItemizedStorageResponse": {
        "index": "u16",
        "schema_id": "SchemaId",
        "payload": "Vec<u8>"
    },
    "PaginatedStorageResponse": {
        "page_id": "PageId",
        "msa_id": "MessageSourceId",
        "intent_id": "IntentId",
        "schema_id": "SchemaId",
        "content_hash": "PageHash",
        "nonce": "PageNonce",
        "payload": "Vec<u8>"
    },
    "ItemizedStoragePageResponse": {
        "msa_id": "MessageSourceId",
        "intent_id": "IntentId",
        "content_hash": "PageHash",
        "nonce": "PageNonce",
        "items": "Vec<ItemizedStorageResponse>"
    }
}