Skip to main content

useTypedApi

Callable

  • useTypedApi<TChainId>(options?: ChainComposableOptions<TChainId>): PromiseLikeAsyncState<any>

  • Composable for getting Polkadot-API typed API.


    Type parameters

    • TChainId: any

    Parameters

    • optionaloptions: ChainComposableOptions<TChainId>

      Additional options

    Returns PromiseLikeAsyncState<any>

    Polkadot-API typed API