Type aliases ActivityNftInfo ActivityNftInfo: { chain: string ; contractAddress: string ; network: string ; tokenId: string ; userAddress: string }
Type declaration chain: string contractAddress: string network: string tokenId: string userAddress: string AppCreditInfo AppCreditInfo: { burnedSupply: number ; createdAt: number ; maxSupply: number | null ; name: string ; symbol: string ; totalSupply: number }
Type declaration burnedSupply: number createdAt: number maxSupply: number | null name: string symbol: string totalSupply: number DailyRewardDetail DailyRewardDetail: {}
EnvType EnvType: "dev" | "prod"
ErrorCode ErrorCode: "invalid-argument" | "unauthenticated" | "permission-denied" | "not-found" | "already-exists" | "precondition-failed" | "bad-request" | "forbidden" | "payload-too-large" | "internal" | "unavailable" | "gateway-timeout" | "not-implemented" | "unknown"
History History< Type > : {}
Type parameters ItemGiveHistory Item
GiveHistory: { appId: string ; createdAt: number ; id: string ; quantity: number ; reason?: string ; status: ItemGiveStatus ; subtype: string ; type: string ; value: string } Type declaration appId: string createdAt: number id: string quantity: number Optional reason?: string subtype: string type: string value: string Model Model: "gpt-4o-mini" | "gpt-4o" | "gpt-4-turbo" | "gpt-4"
NftCollections NftCollections: {}
NftContractBySymbol NftContractBySymbol: { chain: string ; contractAddress: string ; name: string ; network: string ; symbol: string }
Type declaration chain: string contractAddress: string name: string network: string symbol: string NftContractInfo NftContractInfo: { chain: string ; contractAddress: string ; deployAddress: string ; lastBlockNumber: number ; name: string ; network: string ; symbol: string ; totalSupply: number }
Type declaration chain: string contractAddress: string deployAddress: string lastBlockNumber: number name: string network: string symbol: string totalSupply: number NftMetadata NftMetadata: { attributes?: object [] ; description?: string ; image?: string ; name?: string }
Type declaration [ additionalFields: string ]: any Optional attributes?: object [] Optional description?: string Optional image?: string Optional name?: string NftToken Nft
Token: { isBurnt: boolean ; metadata: NftMetadata ; owner: string ; tokenURI: string } Type declaration [ key: string ]: any isBurnt: boolean owner: string tokenURI: string ServiceNickname ServiceNickname: string | "openai"
UseItemReturnType Use
ItemReturnType: { NFT: Promise < string > ; NFT_TRAIT: Promise < NftMetadata > ; TICKET: Promise < void > } Type declaration NFT: Promise < string > TICKET: Promise < void >
The amount of credit burned.