@statechannels/server-wallet > validateEngineConfig

validateEngineConfig() function

Signature:

export declare function validateEngineConfig(config: Record<string, any>): {
valid: boolean;
value: WalletConfig | undefined;
errors: ValidationErrorItem[];
};

Parameters

ParameterTypeDescription
configRecord<string, any>

Returns:

{ valid: boolean; value: WalletConfig | undefined; errors: ValidationErrorItem[]; }