Pack.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 pack
contract.royalties.setTokenRoyaltyInfo(packId, {
seller_fee_basis_points: 500, // 5%
fee_recipient: "0x...",
});
Signature:
royalties: ContractRoyalty<PackContract, typeof PackContractSchema>;
Remarks
Set your own royalties for the entire contract or per pack