> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cloud.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                                                                                                                                                                                                                |
| --------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <a id="account" /> `account`                  | `` `0x${string}` ``                                                                                         | The taker address.                                                                                                                                                                                                         |
| <a id="network" /> `network`                  | [`EvmSwapsNetwork`](/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-core/Type-Aliases/EvmSwapsNetwork)             | The network.                                                                                                                                                                                                               |
| <a id="fromtoken" /> `fromToken`              | `string`                                                                                                    | The fromToken address.                                                                                                                                                                                                     |
| <a id="totoken" /> `toToken`                  | `string`                                                                                                    | The toToken address.                                                                                                                                                                                                       |
| <a id="fromamount" /> `fromAmount`            | `string`                                                                                                    | Amount of fromToken sold, in atomic units.                                                                                                                                                                                 |
| <a id="toamount" /> `toAmount`                | `string`                                                                                                    | Expected output from the quote, in atomic units.                                                                                                                                                                           |
| <a id="mintoamount" /> `minToAmount`          | `string`                                                                                                    | Minimum guaranteed output, in atomic units.                                                                                                                                                                                |
| <a id="fees" /> `fees`                        | \| `null` \| [`SwapFees`](/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-hooks/Type-Aliases/SwapFees)             | Fees as quoted at execute time, or null.                                                                                                                                                                                   |
| <a id="totalnetworkfee" /> `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. |
| <a id="type" /> `type`                        | `"evm-smart"`                                                                                               | Always "evm-smart".                                                                                                                                                                                                        |
| <a id="userophash" /> `userOpHash`            | `` `0x${string}` ``                                                                                         | The user operation hash.                                                                                                                                                                                                   |
| <a id="receipts" /> `receipts?`               | [`UserOperationReceipt`](/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-hooks/Interfaces/UserOperationReceipt)\[] | The user operation receipts for the Smart Account transaction.                                                                                                                                                             |
| <a id="useroperation" /> `userOperation?`     | [`EvmUserOperation`](/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-core/Interfaces/EvmUserOperation)             | The user operation result for the Smart Account transaction.                                                                                                                                                               |
| <a id="transactionhash" /> `transactionHash?` | `` `0x${string}` ``                                                                                         | The hash of the transaction that included this particular user operation.                                                                                                                                                  |
