Crypto SDK
    Preparing search index...

    Interface VerifyResult

    Result of a signature verification operation.

    const { data } = await client.verify({ publicKey, message: 'hello', signature: sig });
    const result: VerifyResult = data;
    console.log(result.valid); // true or false
    interface VerifyResult {
        valid: boolean;
        algorithm: string;
    }
    Index
    valid: boolean

    Whether the signature is valid.

    algorithm: string

    Signing algorithm used for verification.