> ## 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.

# SwapTransactionEvmSmartData

Transaction data for the `useSwap` hook, when the account is a Smart Account.

## Properties

| Property | Type | Description |
| - | - | - |
|  `account` | `` `0x${string}` `` | The taker address. |
|  `network` | [`EvmSwapsNetwork`](https://docs.cdp.coinbase.com/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-core/Type-Aliases/EvmSwapsNetwork) | The network. |
|  `fromToken` | `string` | The fromToken address. |
|  `toToken` | `string` | The toToken address. |
|  `fromAmount` | `string` | Amount of fromToken sold, in atomic units. |
|  `toAmount` | `string` | Expected output from the quote, in atomic units. |
|  `minToAmount` | `string` | Minimum guaranteed output, in atomic units. |
|  `fees` | \| `null` \| [`SwapFees`](https://docs.cdp.coinbase.com/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-hooks/Type-Aliases/SwapFees) | Fees as quoted at execute time, or null. |
|  `totalNetworkFee` | `null` \| `string` | The estimated total network cost of the swap. On chains where there is no L1 data cost, it is calculated as gas \* gasPrice. On chains where there is an L1 data cost, it is calculated as gas \* gasPrice + L1 data cost. |
|  `type` | `"evm-smart"` | Always "evm-smart". |
|  `userOpHash` | `` `0x${string}` `` | The user operation hash. |
|  `receipts?` | [`UserOperationReceipt`](https://docs.cdp.coinbase.com/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-hooks/Interfaces/UserOperationReceipt)\[] | The user operation receipts for the Smart Account transaction. |
|  `userOperation?` | [`EvmUserOperation`](https://docs.cdp.coinbase.com/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-core/Interfaces/EvmUserOperation) | The user operation result for the Smart Account transaction. |
|  `transactionHash?` | `` `0x${string}` `` | The hash of the transaction that included this particular user operation. |
