Skip to main content
The props for the SendEvmTransactionButton component.

See

SendEvmTransactionButton

Extends

Properties

PropertyTypeDescriptionInherited from
account`0x${string}`The account to send the transaction from.-
networkSendEvmTransactionWithEndUserAccountBodyNetworkThe network to send the transaction on.-
onError?(error: | Error | APIError) => voidA function to call when the transaction errors.-
onSuccess?(hash: string) => voidA function to call when the transaction is successful.-
transactionAllowedEvmTransactionTypeThe transaction to send.-
size?ButtonSizeThe size of the button. Defaults to “md”.Omit.size
asChild?booleanSet to true to use a custom element or component in place of the default button element.Omit.asChild
isPending?booleanWhether the button state is pending.Omit.isPending
fullWidth?booleanWhether the button should be full width.Omit.fullWidth
pendingLabel?ReactNodeA label to render when the button state is pending.Omit.pendingLabel
variant?ButtonVariantThe variant of the button. Defaults to “primary”.Omit.variant