Handle contract royalties
Configure royalties for an entire contract or a particular token.
const contract = await sdk.getContract("{{contract_address}}"); const royaltyInfo = await contract.royalties.getDefaultRoyaltyInfo(); await contract.roles.setTokenRoyaltyInfo(tokenId, { seller_fee_basis_points: 100, // 1% royalty fee fee_recipient: "0x...", // the fee recipient });