Skip to main content

EditionDrop.royalties property

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<
PrebuiltEditionDrop,
typeof DropErc1155ContractSchema
>;

Remarks

Set your own royalties for the entire contract or per token