# SynapseFromClientOptions

Defined in: [packages/synapse-sdk/src/types.ts:143](https://github.com/FilOzone/synapse-sdk/blob/d2725be576fc57fac19e7c64cd8e004e0cec85d3/packages/synapse-sdk/src/types.ts#L143)

## Properties

### client

> **client**: `Client`\<`Transport`, `Chain`, `Account`\>

Defined in: [packages/synapse-sdk/src/types.ts:149](https://github.com/FilOzone/synapse-sdk/blob/d2725be576fc57fac19e7c64cd8e004e0cec85d3/packages/synapse-sdk/src/types.ts#L149)

Viem wallet client

#### See

https://viem.sh/docs/clients/wallet#optional-hoist-the-account

***

### readClient?

> `optional` **readClient?**: `Client`\<`Transport`, `Chain`\>

Defined in: [packages/synapse-sdk/src/types.ts:154](https://github.com/FilOzone/synapse-sdk/blob/d2725be576fc57fac19e7c64cd8e004e0cec85d3/packages/synapse-sdk/src/types.ts#L154)

Viem public client for read operations

***

### sessionClient?

> `optional` **sessionClient?**: `Client`\<`Transport`, `Chain`, \{ `address`: `` `0x${string}` ``; `keyType`: `"Secp256k1"`; `nonceManager?`: `NonceManager`; `publicKey`: `` `0x${string}` ``; `rootAddress`: `` `0x${string}` ``; `sign`: (`parameters`) => [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`` `0x${string}` ``\>; `signAuthorization`: (`parameters`) => [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`SignAuthorizationReturnType`\>; `signMessage`: (`__namedParameters`) => [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`` `0x${string}` ``\>; `signTransaction`: \<`serializer`, `transaction`\>(`transaction`, `options?`) => [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`` `0x${string}` ``\>; `signTypedData`: \<`typedData`, `primaryType`\>(`parameters`) => [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`` `0x${string}` ``\>; `source`: `"sessionKey"`; `type`: `"local"`; \}\>

Defined in: [packages/synapse-sdk/src/types.ts:157](https://github.com/FilOzone/synapse-sdk/blob/d2725be576fc57fac19e7c64cd8e004e0cec85d3/packages/synapse-sdk/src/types.ts#L157)

***

### source

> **source**: `string` \| `null`

Defined in: [packages/synapse-sdk/src/types.ts:167](https://github.com/FilOzone/synapse-sdk/blob/d2725be576fc57fac19e7c64cd8e004e0cec85d3/packages/synapse-sdk/src/types.ts#L167)

Application identifier for namespace isolation. When set to a non-empty string, datasets
are tagged with this value and only datasets with a matching source are reused. Set to
`null` to explicitly opt out.

***

### withCDN?

> `optional` **withCDN?**: `boolean`

Defined in: [packages/synapse-sdk/src/types.ts:160](https://github.com/FilOzone/synapse-sdk/blob/d2725be576fc57fac19e7c64cd8e004e0cec85d3/packages/synapse-sdk/src/types.ts#L160)

Whether to use CDN for retrievals (default: false)