Skip to main content

useChainSpecData

Callable

  • useChainSpecData(options?: ChainComposableOptions): DeepReadonly<MutableAsyncState<any, unknown, undefined>> & { refresh: () => void } & PromiseLike<AsyncState<any, unknown, any>>

  • Composable for fetching the JSON-RPC spec.


    Parameters

    • optionaloptions: ChainComposableOptions

      Additional options

    Returns DeepReadonly<MutableAsyncState<any, unknown, undefined>> & { refresh: () => void } & PromiseLike<AsyncState<any, unknown, any>>