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

# GetSwapPriceOptions

```ts theme={null}
type GetSwapPriceOptions = {
  network: EvmSwapsNetwork;
  fromToken: EvmAddress;
  toToken: EvmAddress;
  fromAmount: string;
  slippageBps?: number;
  account?: EvmAddress;
};
```

Request parameters for getting an indicative swap price.

## Properties

| Property                              | Type                                                                                            | Description                                                                              |
| ------------------------------------- | ----------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
| <a id="network" /> `network`          | [`EvmSwapsNetwork`](/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-core/Type-Aliases/EvmSwapsNetwork) | The network on which to perform the swap.                                                |
| <a id="fromtoken" /> `fromToken`      | [`EvmAddress`](/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-hooks/Type-Aliases/EvmAddress)          | The 0x-prefixed contract address of the token to sell.                                   |
| <a id="totoken" /> `toToken`          | [`EvmAddress`](/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-hooks/Type-Aliases/EvmAddress)          | The 0x-prefixed contract address of the token to buy.                                    |
| <a id="fromamount" /> `fromAmount`    | `string`                                                                                        | The amount of fromToken to sell, in atomic units.                                        |
| <a id="slippagebps" /> `slippageBps?` | `number`                                                                                        | Maximum slippage in basis points (100 = 1%). Default is 100.                             |
| <a id="account" /> `account?`         | [`EvmAddress`](/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-hooks/Type-Aliases/EvmAddress)          | The taker account address. If omitted, auto-selected from the signed-in user's accounts. |
