Advanced Minting: Royalty Distribution
For creators who want to use the NFTs they created along with royalties, TMINTER offers the function to set terms of revenue splitting. Such rules ensure that a certain percentage of secondary sales goes back to the originator or other parties of his/her/its choice.
Endpoint: POST /api/mint/with-royalties
Request Body:
json
Copy code
{
"contractId": "{contractId}",
"recipient": "{walletAddress}",
"royalties": {
"percent": 10,
"recipients": [
{
"address": "{creatorWallet}",
"share": 70
},
{
"address": "{collaboratorWallet}",
"share": 30
}
]
},
"metadata": {
"name": "Royalty-Enabled NFT",
"description": "This NFT pays 10% royalties on every resale"
}
}
Description: This minting operation makes sure that royalties are paid on each resale of the NFT. The royalties field shows how many percentages of the sale price go for the royalties and the distribution of the share.
Last updated