This API is used to request a unique ERC721 from the smart contract that includes royalties for secondary sales. This API’s result is a requestId.
Required Parameters :-
toAddress - Wallet address to which the NFT will be directly minted
blockchainType - Blockchain network to be used:
0 for Ethereum and
1 for Polygon
networkType - network type for the specified blockchain:
For BlockchainType Ethereum:
0 for Ethereum Mainnet
1 for Ropsten Testnet
2 for Rinkeby Testnet
For BlockchainType Polygon:
0 for Polygon Mainnet
1 for Polygon Mumbai
tokenId - Desired tokenID for the NFT mint, per smart contract
smartContractSymbol - Unique symbol for the smart contract
Uri - The URI for the NFT
setRoyalty - Set royalty to true or false
royaltyDetails - Add royalty participants and their percentage shares -
receiverAddress - Wallet address of royalty recipient
receiverAmount - Royalty share expressed in basis points (bps); 100bps = 1%
200requestId & Uri
400Bad Request Errors
404Asset does Not Exist
User Does Not Exist
406Non Authenticated User
Errors(from internal methods)
Please Provide blockchainType As Number Value
Please Provide networkType As Number Value
Wrong Blockchain Type. Please Provide Correct Number. 0 (Ethereum) or 1 (Polygon)
Wrong Network Type. Please Provide Correct Number. 0 (Polygon Mainnet) or 1 (Polygon Mumbai)
Wrong Network Type. Please Provide Correct Number. 0 (Mainnet) or 1 (Ropsten) or 2 (Rinkeby)
collectionName Alredy Exist Please Provide Different collectionName. In Case You have Not Provided collectionName Then Provide Different Asset Name
Please Provide Asset Name