Beta 
an instance of a SmartContract
a mutation object that can be used to update the royalty settings
const Component = () => {
  const { contract } = useContract("{{contract_address}}");
  const {
    mutate: updateRoyaltySettings,
    isLoading,
    error,
  } = useUpdateRoyaltySettings(contract);
  if (error) {
    console.error("failed to update royalty settings", error);
  }
  return (
    <button
      disabled={isLoading}
      onClick={() => updateRoyaltySettings({ updatePayload: { fee_recipient: "{{wallet_address}}", seller_fee_basis_points: 5_00 } })}
    >
      Update Royalty Settings
    </button>
  );
};
Royalty
Generated using TypeDoc
Set the royalty recipient and fee