Skip to main content

NftMintParams

namestringrequired

The name of the NFT

addressstring

The address of the NFT contract

addressPrivateKeystring

The private key of the NFT contract

tokenIdint64

The token ID of the NFT

data objectrequired

The data associated with the NFT, including owner, approved, version, id, permissions and flags

ownerstringrequired

The public key of the owner of the NFT

approvedstring

The public key of the approved address of the NFT

versionint32

The version number of the NFT state

idstring

The unique identifier of the NFT within the collection. A bigint encoded as a string.

canChangeOwnerByProofboolean

Determines whether the NFT's ownership can be changed via a zero-knowledge proof (readonly)

canTransferboolean

Specifies if the NFT's ownership can be transferred (readonly)

canApproveboolean

Specifies if the NFT's approved address can be changed (readonly)

canChangeMetadataboolean

Indicates whether the NFT's metadata can be updated (readonly)

canChangeStorageboolean

Determines whether the storage associated with the NFT can be altered (readonly)

canChangeNameboolean

Specifies if the name of the NFT can be changed (readonly)

canChangeMetadataVerificationKeyHashboolean

Indicates whether the verification key hash for the metadata can be changed (readonly)

canPauseboolean

Specifies if the NFT contract can be paused, preventing certain operations (readonly)

isPausedboolean

Indicates whether the NFT contract is currently paused

requireOwnerAuthorizationToUpgradeboolean

Determines whether the owner's authorization is required to upgrade the NFT's verification key (readonly)

feeint64

The fee associated with minting the NFT

metadata objectrequired

The metadata associated with the NFT, Field as a string or NftMetadata object

oneOf
string
storagestring

The off-chain storage information (e.g., IPFS hash)

metadataVerificationKeyHashstring

The hash of the verification key used for metadata proofs, Field as a string

expiryint32

The expiry time slot for minting the NFT

NftMintParams
{
"name": "string",
"address": "string",
"addressPrivateKey": "string",
"tokenId": 0,
"data": {
"owner": "string",
"approved": "string",
"version": 0,
"id": "string",
"canChangeOwnerByProof": true,
"canTransfer": true,
"canApprove": true,
"canChangeMetadata": true,
"canChangeStorage": true,
"canChangeName": true,
"canChangeMetadataVerificationKeyHash": true,
"canPause": true,
"isPaused": true,
"requireOwnerAuthorizationToUpgrade": true
},
"fee": 0,
"metadata": "string",
"storage": "string",
"metadataVerificationKeyHash": "string",
"expiry": 0
}