API's
You can use our external API to manage your NFT decks and use the metadata for minting by publishing on IPFS.
External API
Endpoints
GET
/api/thumbs/[tokenId]
Retrieve an image from your NFT card.
type Image = Buffer | { error: string };
GET
/api/contract/terms
Retrieve an array with the the contract terms.
type Terms = TermAttributes[] | { error: string };
interface TermAttributes{
title: string;
subtitle?: string;
img: string;
icon: string;
isNotEtherValue?: boolean;
value: number;
link: string;
}
GET
/api/contract/currentTokenId
Retrieve the current token ID. Useful for the next mint.
type TokenId = number | { error: string };
GET
/api/health
Retrieve an array of reports about the contract methods and thumbs availability.
type Health = Report[];
interface Report {
service:string;
code: number;
status: string;
data?: object;
}