Interface ChallengeParams<T>

Interface for EIP-4361 Challenge - Sign in With Ethereum

For more information and documentation, view the EIP proposal.

We extend it to support assets.

interface ChallengeParams {
    address: string;
    assetOwnershipRequirements?: AssetConditionGroup<T>;
    chainId?: string;
    domain: string;
    expirationDate?: string;
    issuedAt?: string;
    nonce: string;
    notBefore?: string;
    resources?: string[];
    statement: string;
    uri: string;
    version?: string;
}

Type Parameters

  • T extends NumberType

Properties

address: string
assetOwnershipRequirements?: AssetConditionGroup<T>
chainId?: string
domain: string
expirationDate?: string
issuedAt?: string
nonce: string
notBefore?: string
resources?: string[]
statement: string
uri: string
version?: string

Generated using TypeDoc