> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cdp.coinbase.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SendEvmTransactionButtonProps

The props for the SendEvmTransactionButton component.

## See

[SendEvmTransactionButton](/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-react/Components/SendEvmTransactionButton)

## Extends

* `Omit`\<[`ButtonProps`](/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-react/Interfaces/ButtonProps), `"onError"`>

## Properties

| Property                                | Type                                                                                                                                                            | Description                                                                              | Inherited from      |
| --------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ------------------- |
| <a id="account" /> `account`            | `` `0x${string}` ``                                                                                                                                             | The account to send the transaction from.                                                | -                   |
| <a id="network" /> `network`            | [`SendEvmTransactionWithEndUserAccountBodyNetwork`](/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-core/Type-Aliases/SendEvmTransactionWithEndUserAccountBodyNetwork) | The network to send the transaction on.                                                  | -                   |
| <a id="onerror" /> `onError?`           | (`error`: \| `Error` \| [`APIError`](/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-core/Classes/APIError)) => `void`                                                 | A function to call when the transaction errors.                                          | -                   |
| <a id="onsuccess" /> `onSuccess?`       | (`hash`: `string`) => `void`                                                                                                                                    | A function to call when the transaction is successful.                                   | -                   |
| <a id="transaction" /> `transaction`    | [`AllowedEvmTransactionType`](/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-hooks/Type-Aliases/AllowedEvmTransactionType)                                            | The transaction to send.                                                                 | -                   |
| <a id="size" /> `size?`                 | [`ButtonSize`](/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-react/Type-Aliases/ButtonSize)                                                                          | The size of the button. Defaults to "md".                                                | `Omit.size`         |
| <a id="aschild" /> `asChild?`           | `boolean`                                                                                                                                                       | Set to true to use a custom element or component in place of the default button element. | `Omit.asChild`      |
| <a id="fullwidth" /> `fullWidth?`       | `boolean`                                                                                                                                                       | Whether the button should be full width.                                                 | `Omit.fullWidth`    |
| <a id="ispending" /> `isPending?`       | `boolean`                                                                                                                                                       | Whether the button state is pending.                                                     | `Omit.isPending`    |
| <a id="pendinglabel" /> `pendingLabel?` | `ReactNode`                                                                                                                                                     | A label to render when the button state is pending.                                      | `Omit.pendingLabel` |
| <a id="variant" /> `variant?`           | [`ButtonVariant`](/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-react/Type-Aliases/ButtonVariant)                                                                    | The variant of the button. Defaults to "primary".                                        | `Omit.variant`      |
