T402 API Reference - v2.8.0
    Preparing search index...

    Interface DeclareSIWxOptions

    Options for declaring SIWx extension on server.

    interface DeclareSIWxOptions {
        resourceUri: string;
        statement?: string;
        version?: string;
        network: `${string}:${string}`;
        expirationTime?: string;
        signatureScheme?: SignatureScheme;
    }
    Index

    Properties

    resourceUri: string

    Full URI of the resource (domain derived from this)

    statement?: string

    Optional statement explaining the sign-in purpose

    version?: string

    SIWx version (defaults to "1")

    network: `${string}:${string}`

    Network in CAIP-2 format (e.g., "eip155:8453")

    expirationTime?: string

    Expiration time (auto-set to +5 minutes if not provided)

    signatureScheme?: SignatureScheme

    Preferred signature scheme