Documentation ¶
Index ¶
Constants ¶
View Source
const APIBaseURL = "https://apps.api.manifoldxyz.com/public/instance/"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataResponse ¶
type DataResponse struct { ID int `json:"id"` Creator Creator `json:"creator"` Slug string `json:"slug"` PublicData PublicData `json:"publicData"` AppID int64 `json:"appId"` MintPrice float64 `json:"mintPrice"` IsOpenEdition bool `json:"isOpenEdition"` IsIykClaim bool `json:"isIykClaim"` }
DataResponse is the response from the Manifold API endpoint /data?id=1337...
type PublicData ¶
type PublicData struct { Name string `json:"name"` Description string `json:"description"` Image string `json:"image"` Animation string `json:"animation"` MediaIsLandscape bool `json:"mediaIsLandscape"` ClaimType string `json:"claimType"` ClaimIndex int `json:"claimIndex"` MerkleTreeID int `json:"merkleTreeId"` Erc20 common.Address `json:"erc20"` AudienceID interface{} `json:"audienceId"` // Manifold contract address (to mint from) ExtensionContractAddress common.Address `json:"extensionAddress"` // Collection/NFT contract address CreatorContractAddress common.Address `json:"creatorContractAddress"` // Chain ID Network int `json:"network"` }
Click to show internal directories.
Click to hide internal directories.