SecretNET.NFT Namespace

MintNftRequest..::..Create Method

Creates NFT mint options

Namespace:  SecretNET.NFT
Assembly:  SecretNET.NFT (in SecretNET.NFT.dll)

Syntax


public static MintNftRequest Create(
	string tokenId,
	Nullable<Metadata> publicMetadata,
	Nullable<Metadata> privateMetadata,
	Nullable<SerialNumberType> serialNumber,
	Nullable<string> memo,
	Nullable<RoyaltyInfo> royaltyInfo,
	Nullable<bool> transferable
)
Public Shared Function Create ( _
	tokenId As String, _
	publicMetadata As Nullable(Of Metadata), _
	privateMetadata As Nullable(Of Metadata), _
	serialNumber As Nullable(Of SerialNumberType), _
	memo As Nullable(Of String), _
	royaltyInfo As Nullable(Of RoyaltyInfo), _
	transferable As Nullable(Of Boolean) _
) As MintNftRequest
public:
static MintNftRequest^ Create(
	String^ tokenId, 
	Nullable<Metadata^> publicMetadata, 
	Nullable<Metadata^> privateMetadata, 
	Nullable<SerialNumberType^> serialNumber, 
	Nullable<String^> memo, 
	Nullable<RoyaltyInfo^> royaltyInfo, 
	Nullable<bool^> transferable
)

Parameters

tokenId
Type: String
Identifier for the token to be minted.
publicMetadata
Type: Nullable<(Of <(<'Metadata>)>)>
The metadata that is publicly viewable.
privateMetadata
Type: Nullable<(Of <(<'Metadata>)>)>
The metadata that is viewable only by the token owner and addresses the owner has whitelisted.
serialNumber
Type: Nullable<(Of <(<'SerialNumberType>)>)>
The SerialNumber for this token.
memo
Type: Nullable<(Of <(<'String>)>)>
Memo for the mint tx that is only viewable by addresses involved in the mint (minter, owner).
royaltyInfo
Type: Nullable<(Of <(<'RoyaltyInfo>)>)>
RoyaltyInfo for this token
transferable
Type: Nullable<(Of <(<'Boolean>)>)>
True if the minted token should be transferable (default: true).

Return Value