TLSNotary token information

interface TLSNotaryToken {
    createdAt: number;
    domain: string;
    expiresAt: number;
    owner: string;
    proofHash?: string;
    retriesLeft: number;
    status:
        | "pending"
        | "used"
        | "expired"
        | "stored";
    storageType?: "ipfs" | "onchain";
    tokenId: string;
}

Properties

createdAt: number

Creation timestamp

domain: string

Target domain for attestation

expiresAt: number

Expiration timestamp

owner: string

Owner's address

proofHash?: string

Associated proof hash (if stored)

retriesLeft: number

Number of retry attempts remaining

status:
    | "pending"
    | "used"
    | "expired"
    | "stored"

Current token status

storageType?: "ipfs" | "onchain"

Storage type (if stored)

tokenId: string

Unique token ID