# UseUploadSimpleProps

Defined in: [synapse-react/src/warm-storage/use-upload-simple.ts:9](https://github.com/FilOzone/synapse-sdk/blob/840d7b2c6263846ac51b7558000e62dd68d33a44/packages/synapse-react/src/warm-storage/use-upload-simple.ts#L9)

Options shared by the write hooks that can sign with a session key.

## Extends

- [`SessionKeySignerOptions`](/reference/filoz/synapse-react/interfaces/sessionkeysigneroptions/)

## Properties

### mutation?

> `optional` **mutation?**: [`Omit`](https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys)\<`MutateOptions`\<[`OutputType`](/reference/filoz/synapse-core/sp/namespaces/waitforaddpieces/type-aliases/outputtype/), [`Error`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error), [`UseUploadSimpleVariables`](/reference/filoz/synapse-react/interfaces/useuploadsimplevariables/), `unknown`\>, `"mutationFn"`\>

Defined in: [synapse-react/src/warm-storage/use-upload-simple.ts:14](https://github.com/FilOzone/synapse-sdk/blob/840d7b2c6263846ac51b7558000e62dd68d33a44/packages/synapse-react/src/warm-storage/use-upload-simple.ts#L14)

***

### onHash?

> `optional` **onHash?**: (`hash`) => `void`

Defined in: [synapse-react/src/warm-storage/use-upload-simple.ts:13](https://github.com/FilOzone/synapse-sdk/blob/840d7b2c6263846ac51b7558000e62dd68d33a44/packages/synapse-react/src/warm-storage/use-upload-simple.ts#L13)

The callback to call when the hash is available.

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `hash` | `string` |

#### Returns

`void`

***

### sessionKey?

> `optional` **sessionKey?**: [`SessionKey`](/reference/filoz/synapse-core/session-key/interfaces/sessionkey/)\<`"Secp256k1"`\> \| `null`

Defined in: [synapse-react/src/signer.ts:14](https://github.com/FilOzone/synapse-sdk/blob/840d7b2c6263846ac51b7558000e62dd68d33a44/packages/synapse-react/src/signer.ts#L14)

The session key to sign storage provider (EIP-712) operations with.
If not provided, the connected wallet signs.

#### Inherited from

[`SessionKeySignerOptions`](/reference/filoz/synapse-react/interfaces/sessionkeysigneroptions/).[`sessionKey`](/reference/filoz/synapse-react/interfaces/sessionkeysigneroptions/#sessionkey)