This API is used to set the NFT royalty in basis points. It also sets the owner's share. The royalty must not exceed 10,000 bps.
Required Parameters :-
tokenId - The unique NFT Token ID.
creatorAddress - The wallet address of the NFT creator
value - The royalty rate, expressed as basis points (bps) 100 bps = 1%
royaltyOwners - The list of wallet addresses of the royalty participants
ownerShares - The basis point value of the sale price that each wallet address above will receive as a royalty
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
smart contract type
0 for ERC 721
1 for ERC1155
smartContractSymbol - The symbol of the smart contract.
post https://dev.api.thenftbrewery.com/api/v1/royalty/setRoyalty