# useServicePrice

> **useServicePrice**(`props?`): `UseQueryResult`\<[`OutputType`](/reference/filoz/synapse-core/warm-storage/namespaces/getserviceprice/type-aliases/outputtype/), [`Error`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error)\>

Defined in: [synapse-react/src/warm-storage/use-service-price.ts:23](https://github.com/FilOzone/synapse-sdk/blob/7fdc04df4e3c52366a9f0cd55da4c05e20b2ed82/packages/synapse-react/src/warm-storage/use-service-price.ts#L23)

Get the service price for the warm storage.

## Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `props?` | [`UseServicePriceProps`](/reference/filoz/synapse-react/interfaces/useservicepriceprops/) | The props to use. |

## Returns

`UseQueryResult`\<[`OutputType`](/reference/filoz/synapse-core/warm-storage/namespaces/getserviceprice/type-aliases/outputtype/), [`Error`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error)\>

The service price.