Documentation
    Preparing search index...

    Type Alias VerifyOptions

    VerifyOptions:
        | {
            address?: string;
            checkAddressAliases?: boolean;
            client: ClientWithCoreApi;
            offline?: false;
        }
        | { address?: string; offline: true }

    How to verify a signature: on a Sui node through client, or locally with offline: true.

    Pass address when checking a signature for an account; without it, any valid signature passes.

    With a client, the node checks the signature and, when address is given, that the signer is address or one of its current address aliases (checkAddressAliases, default true; ignored without address). Use a client for the network the account is on.

    Offline verification checks that the signer is address itself and can't verify zkLogin signatures. It also accepts address's own key after the account removed it from its alias set, so use a client when that matters.

    Without client or offline: true, the helpers verify offline and log a warning.