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

# SwapFees

```ts theme={null}
type SwapFees = {
  gasFee?:   | TokenFee
     | null;
  protocolFee?:   | TokenFee
     | null;
};
```

The estimated fees for the swap.

## Properties

| Property                              | Type                                                                                         | Description                              |
| ------------------------------------- | -------------------------------------------------------------------------------------------- | ---------------------------------------- |
| <a id="gasfee" /> `gasFee?`           | \| [`TokenFee`](/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-core/Interfaces/TokenFee) \| `null` | The estimated gas fee for the swap.      |
| <a id="protocolfee" /> `protocolFee?` | \| [`TokenFee`](/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-core/Interfaces/TokenFee) \| `null` | The estimated protocol fee for the swap. |
