# useProviders

```ts
function useProviders(props?): UseQueryResult<UseProvidersResult, Error>;
```

Defined in: [synapse-react/src/warm-storage/use-providers.ts:11](https://github.com/FilOzone/synapse-sdk/blob/84fbb1046e164ad556ca1e641075796aca9db441/packages/synapse-react/src/warm-storage/use-providers.ts#L11)

## Parameters

| Parameter | Type |
| ------ | ------ |
| `props?` | [`UseProvidersProps`](/reference/filoz/synapse-react/interfaces/useprovidersprops/) |

## Returns

`UseQueryResult`\<[`UseProvidersResult`](/reference/filoz/synapse-react/type-aliases/useprovidersresult/), [`Error`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error)\>