import { sendTransaction } from "thirdweb";
import { setDefaultRoyaltyInfo } from "thirdweb/extensions/common";
const transaction = setDefaultRoyaltyInfo({
contract,
royaltyRecipient: ...,
royaltyBps: ...,
overrides: {
...
}
});
// Send the transaction
await sendTransaction({ transaction, account });