MintRequest
Hierarchy
- { address: PublicKey; customFlag: Bool; customId: Field; owner: PublicKey }
- MintRequest
Index
Constructors
Properties
Constructors
externalconstructor
Parameters
externalvalue: { address: PublicKey; customFlag: Bool; customId: Field; owner: PublicKey }
externaladdress: PublicKey = PublicKey
The address of the NFT contract where the NFT will be minted.
externalcustomFlag: Bool = Bool
A custom flag that can be interpreted by the admin contract, possibly forming a PublicKey with customId.
externalcustomId: Field = Field
A custom identifier that can be interpreted by the admin contract.
externalowner: PublicKey = PublicKey
The owner of the new NFT (can be different from the sender).
Returns MintRequest
Properties
address
The address of the NFT contract where the NFT will be minted.
customFlag
A custom flag that can be interpreted by the admin contract, possibly forming a PublicKey with customId.
customId
A custom identifier that can be interpreted by the admin contract.
owner
The owner of the new NFT (can be different from the sender).
Represents a request to mint a new NFT, used by the admin contract to determine if minting is allowed.