Standard NFT
Standard NFT API.
🔥 NFT_mint
mint NFT by metadata
Parameters:
<object>
- a JSON object containing:owner: <string>
- the account to mint NFTmetadata: <object>
- the metadata of the NFT. Follow The Non-Fungible StandardupdateAuthority: <string>
- (optional, default owner) An account with metadata update authority
Results:
<object>
- a JSON object containing:mint: <string>
- the mint address of the NFTmintAssociatedTokenAccount: <string>
- The token account associated with the ownertransaction: <object>
- the transaction struct is to be signed with the owner
Request Example
Response Example
🔥 NFT_mintByUrl
mint NFT by metadata uri
Parameters:
<object>
- a JSON object containing:owner: <string>
- the account to mint NFT.metadataUri: <object>
- the uri associated with metadata.updateAuthority: <string>
- (optional, default owner) An account with metadata update authority.
Results:
<object>
- a JSON object containing:mint: <string>
- the mint address of the NFT.mintAssociatedTokenAccount: <string>
- The token account associated with the owner.transaction: <object>
- the transaction struct is to be signed with the owner.
Request Example
Response Example
🔥 NFT_info
get NFT info
Parameters:
<object>
- a JSON object containing:mint: <string>
- the mint address of the NFT.parseMetadataUri: <boolean>
- (optional, default false) If true, the API will parse the metadata's uri that can get the image url and other info.
Results:
<object>
- a JSON object about metadata
Request Example
Response Example
🔥 NFT_update
update the data of NFT metadata
Parameters:
<object>
- a JSON object containing:mint: <string>
- the mint address of the NFT.metadata: <object>
- fields from the data of NFT metadata.name: <string>
symbol: <string>
uri: <string>
sellerFeeBasisPoints: <int>
newUpdateAuthority: <string>
primarySaleHappened: <boolean>
isMutable: <string>
Results:
<object>
- a JSON object containing:transaction: <object>
- the transaction struct is to be signed with the NFT owner.
Request Example
Response Example
🔥 NFT_setCreatorVerified
Set a creator is verified for the NFT
It is important to check this field to ensure the authenticity of the creator.
Without certification, creators can't share royalties.
Parameters:
<object>
- a JSON object containing:creator: <string>
- the creator account from the NFT metadatamint: <string>
- the mint address of the NFTverified: <boolean>
- (optional, default true) verified or not
Results:
<object>
- a JSON object containing:transaction: <object>
- the transaction struct is to be signed with the creator
Request Example
Response Example
🔥 NFT_isCreatorVerified
check whether the creator is verified or not for the NFT
Parameters:
<object>
- a JSON object containing:creator: <string>
- the creator account from the NFT metadatamint: <string>
- the mint address of the NFT
Results:
<boolean>
- is verified or not for the NFT
Request Example
Response Example
Last updated