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

# UseGetSwapPriceOptions

Options for the `useGetSwapPrice` hook.

## Extends

* `Partial`\<[`GetSwapPriceOptions`](/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-hooks/Type-Aliases/GetSwapPriceOptions)>

## Properties

| Property                              | Type                                                                                            | Description                                                                                            | Inherited from        |
| ------------------------------------- | ----------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ | --------------------- |
| <a id="enabled" /> `enabled?`         | `boolean`                                                                                       | Set to `false` to prevent automatic fetching even when all parameters are present. Defaults to `true`. | -                     |
| <a id="network" /> `network?`         | [`EvmSwapsNetwork`](/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-core/Type-Aliases/EvmSwapsNetwork) | The network on which to perform the swap.                                                              | `Partial.network`     |
| <a id="fromtoken" /> `fromToken?`     | `` `0x${string}` ``                                                                             | The 0x-prefixed contract address of the token to sell.                                                 | `Partial.fromToken`   |
| <a id="totoken" /> `toToken?`         | `` `0x${string}` ``                                                                             | The 0x-prefixed contract address of the token to buy.                                                  | `Partial.toToken`     |
| <a id="fromamount" /> `fromAmount?`   | `string`                                                                                        | The amount of fromToken to sell, in atomic units.                                                      | `Partial.fromAmount`  |
| <a id="slippagebps" /> `slippageBps?` | `number`                                                                                        | Maximum slippage in basis points (100 = 1%). Default is 100.                                           | `Partial.slippageBps` |
| <a id="account" /> `account?`         | `` `0x${string}` ``                                                                             | The taker account address. If omitted, auto-selected from the signed-in user's accounts.               | `Partial.account`     |
