Function loadOptionChainImpl

  • Fetches OptionChain data for a specified asset.

    Throws

    If there is an issue with the RPC call or parsing the OptionChain data.

    Parameters

    • this: SdxClient
    • asset: AssetType

      The type of asset for which to fetch the OptionChain data.

    • Optional fromCache: boolean = false

      If true, data is loaded from cache. If false, data is fetched from chain.

    • Optional enableLogging: boolean = false

      If true, logging is enabled for the function.

    Returns Promise<OptionChain>

    A promise resolving to the OptionChain data for the specified asset.

Generated using TypeDoc