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

# EnableSpendPermissionsOptions

```ts theme={null}
type EnableSpendPermissionsOptions = {
  evmSmartAccount?: EvmAddress;
  network: SpendPermissionNetwork;
  idempotencyKey?: string;
};
```

Options for the useEnableSpendPermissions hook.

## Type declaration

| Name               | Type                                                                                   |
| ------------------ | -------------------------------------------------------------------------------------- |
| `evmSmartAccount?` | [`EvmAddress`](/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-hooks/Type-Aliases/EvmAddress) |
| `network`          | `SpendPermissionNetwork`                                                               |
| `idempotencyKey?`  | `string`                                                                               |

## Param

The EVM Smart Account to enable spend permissions for. Auto-resolved from the current authenticated user if not provided.

## Param

The network on which to enable spend permissions.

## Param

An optional idempotency key for safe retries.
