The props for the SendEvmTransactionButton component.
The props for the SendEvmTransactionButton component.
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.
The transaction to send.
Optionalsize?: ButtonSizeThe size of the button. Defaults to "md".
OptionalisPending?: booleanWhether the button state is pending.
OptionalasChild?: booleanSet to true to use a custom element or component in place of the default button element.
OptionalfullWidth?: booleanWhether the button should be full width.
OptionalpendingLabel?: ReactNodeA label to render when the button state is pending.
Optionalvariant?: ButtonVariantThe variant of the button. Defaults to "primary".
The rendered component.
A button that signs and sends a transaction.