Skip to main content

Multiwrap.royalties property

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Configure royalties

Example

// royalties on the whole contract
contract.royalties.setDefaultRoyaltyInfo({
seller_fee_basis_points: 100, // 1%
fee_recipient: "0x...",
});
// override royalty for a particular token
contract.royalties.setTokenRoyaltyInfo(tokenId, {
seller_fee_basis_points: 500, // 5%
fee_recipient: "0x...",
});

Signature:

royalties: ContractRoyalty<MultiwrapContract, typeof MultiwrapContractSchema>;

Remarks

Set your own royalties for the entire contract or per token