Function getPriceByType

  • Parameters

    • chainId: ChainId

      chain id refers to CHAIN_MAP

    • coinType: string
    • date: Date
    • Optionaloptions: PriceOptions

      other behavior options

    Returns Promise<number | undefined>