Represents information about a Capacity Credit. Includes the capacity token ID, requests per kilosecond, expiration details, and minting timestamp.

interface CapacityCreditInfo {
    capacityTokenId: string;
    capacityTokenIdStr: string;
    daysUntilUTCMidnightExpiration: number;
    mintedAtUtc: string;
    requestsPerKilosecond: number;
}

Properties

capacityTokenId: string

The capacity token ID as a number.

capacityTokenIdStr: string

The capacity token ID as a string.

daysUntilUTCMidnightExpiration: number

The number of days until the capacity credit expires at UTC midnight.

mintedAtUtc: string

The timestamp when the capacity credit was minted (in UTC).

requestsPerKilosecond: number

The number of requests allowed per kilosecond.