Function getChainSuggest

Returns a default chain configuration object with overrides from the supplied ChainInfo and any additional currencies.

  • Parameters

    • OptionalchainInfo: ChainInfo

      A ChainInfo object. Fields from this object will override the default chain info.

    • currencies: Currency[] = []

      A list of Currency objects to add to the created chain configuration.

    Returns ChainConfig

    A chain configuration object with overrides from ChainInfo and any additional currencies.