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