def METHOD_NAME(chainId: int, verifyingContract: bytes, member: bytes, paired: int,
                             nodeId: bytes, domainId: bytes, nodeType: int, nodeKey: bytes,
                             amount: int, config: Optional[str]) -> dict:
    """
    :param chainId:
    :param verifyingContract:
    :param member:
    :param paired:
    :param nodeId:
    :param domainId:
    :param nodeKey:
    :param amount:
    :param config:
    :return:
    """
    assert is_chain_id(chainId)
    assert is_address(verifyingContract)
    assert is_address(member)
    assert is_block_number(paired)
    assert is_bytes16(nodeId)
    assert is_bytes16(domainId)
    assert type(nodeType) == int
    assert is_cs_pubkey(nodeKey)
    assert type(amount) == int
    assert config is None or type(config) == str
    data = {
        'types': {
            'EIP712Domain': [
                {
                    'name': 'name',
                    'type': 'string'
                },
                {
                    'name': 'version',
                    'type': 'string'
                },
            ],
            'EIP712NodePair': [
                {
                    'name': 'chainId',
                    'type': 'uint256'
                },
                {
                    'name': 'verifyingContract',
                    'type': 'address'
                },
                {
                    'name': 'member',
                    'type': 'address'
                },
                {
                    'name': 'paired',
                    'type': 'uint256'
                },
                {
                    'name': 'nodeId',
                    'type': 'bytes16'
                },
                {
                    'name': 'domainId',
                    'type': 'bytes16'
                },
                {
                    'name': 'nodeType',
                    'type': 'uint8'
                },
                {
                    'name': 'nodeKey',
                    'type': 'bytes16'
                },
                {
                    'name': 'amount',
                    'type': 'uint256',
                },
                {
                    'name': 'config',
                    'type': 'string',
                },
            ]
        },
        'primaryType': 'EIP712NodePair',
        'domain': {
            'name': 'XBR',
            'version': '1',
        },
        'message': {
            'chainId': chainId,
            'verifyingContract': verifyingContract,
            'member': member,
            'paired': paired,
            'nodeId': nodeId,
            'domainId': domainId,
            'nodeType': nodeType,
            'nodeKey': nodeKey,
            'amount': amount,
            'config': config or '',
        }
    }
    return data