import { sendTransaction } from "thirdweb";
import { RoyaltyERC721 } from "thirdweb/modules";
const transaction = RoyaltyERC721.setRoyaltyInfoForToken({
contract,
tokenId: ...,
recipient: ...,
bps: ...,
overrides: {
...
}
});
// Send the transaction
await sendTransaction({ transaction, account });