# useServicePrice

```ts
function useServicePrice(props?): UseQueryResult<ServicePriceResult, Error>;
```

Defined in: [packages/synapse-react/src/warm-storage/use-service-price.ts:23](https://github.com/FilOzone/synapse-sdk/blob/27f77cec9cf7253fa0d55f2d5a93dd2f10037752/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`\<[`ServicePriceResult`](/reference/filoz/synapse-core/warm-storage/type-aliases/servicepriceresult/), [`Error`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error)\>

The service price.