The props for the SendEvmTransactionButton component.
The props for the SendEvmTransactionButton component.
SendEvmTransactionButtonProps
The account to send the transaction from.
The network to send the transaction on.
OptionalonError?: (error: Error | APIError) => voidA function to call when the transaction errors.
OptionalonSuccess?: (hash: string) => voidA function to call when the transaction is successful.
OptionalpendingLabel?: ReactNodeThe label to show to screen readers when the transaction is pending.
The transaction to send.
Optionalvariant?: ButtonVariantThe variant of the button.
The rendered component.
A button that signs and sends a transaction.