TransactionWidgetProps

type TransactionWidgetProps = {
activeWallet?: Wallet;
amount?: string;
className?: string;
client: ThirdwebClient;
connectOptions?: TransactionWidgetConnectOptions;
description?: string;
feePayer?: "user" | "seller";
hiddenWallets?: Array<WalletId>;
image?: string;
locale?: LocaleId;
onCancel?: () => void;
onError?: (error: Error) => void;
onSuccess?: () => void;
paymentLinkId?: string;
presetOptions?: [number, number, number];
purchaseData?: Record<string, unknown>;
style?: React.CSSProperties;
supportedTokens?: SupportedTokens;
theme?: "light" | "dark" | Theme;
title?: string;
tokenAddress?: Address;
transaction: PreparedTransaction;
};