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