AlphscanProvider
Wrap your app (or the part that needs the API) with AlphscanProvider so that useClient() can return the SDK client. The provider creates one client per apiUrl + apiKey and memoizes it.Props
| Prop | Type | Description |
|---|---|---|
| apiUrl | string | API base URL (e.g. https://api.alphscan.io). Trailing slashes are removed. |
| apiKey | string | Optional API key. Empty string is treated as no key. |
| children | ReactNode | Tree that can use useClient() and other hooks. |

