iya-sts
    Preparing search index...

    Variable vpWalletFor

    vpWalletFor: (
        req: any,
        named?: unknown,
    ) =>
        | { error: string; named?: undefined; url?: undefined }
        | { error?: undefined; named: boolean; url: string } = ...

    Type Declaration

      • (
            req: any,
            named?: unknown,
        ):
            | { error: string; named?: undefined; url?: undefined }
            | { error?: undefined; named: boolean; url: string }
      • Returns where the holder is sent: the configured wallet URL, or the wallet query parameter — which, where only registered addresses are accepted, must name the configured wallet or an allowed one.

        Parameters

        • req: any

          the request

        • Optionalnamed: unknown

          optional; the wallet the caller named, where it is not the request's wallet query parameter

        Returns
            | { error: string; named?: undefined; url?: undefined }
            | { error?: undefined; named: boolean; url: string }

        { url }, or { error } naming the refused wallet