• Upload content and Compressed NFT mint

    Parameters

    • owner: Secret

      // owner's Secret

    • input: InputNftMetadata

      { name: string // nft content name symbol: string // nft ticker symbol royalty: number // royalty percentage storageType: 'arweave'|'nftStorage' // Decentralized storage uri?: string | File // uploaded content url filePath?: string | File // upload content description?: string // nft content description external_url?: string // landing page, home page uri, related url attributes?: MetadataAttribute[] // game character parameter, personality, characteristics properties?: MetadataProperties // include file name, uri, supported file type collection?: Pubkey // collections of different colors, shapes, etc. isMutable?: boolean // enable update() options?: [key: string]?: unknown // optional param, Usually not used. }

    • spaceOwner: Pubkey

      // Previously created space owner

    • collectionMint: Pubkey

      // Previously created collectionMint

    • options: Partial<MintOptions> = {}

      // mint options

    Returns Promise<Result<CommonStructure, Error>>

    Promise<Result<MintTransaction, Error>>

Generated using TypeDoc