getPriceByType

Function in @sentio/sdk/utils

Defined in @sentio/sdk/utils

function getPriceByType(
   chainId: ChainId, 
   coinType: string, 
   date: Date, 
   options?: PriceOptions
): Promise<number | undefined>;

Parameters

ParameterTypeDescription
chainIdChainIdchain id refers to CHAIN_MAP
coinTypestring-
dateDate-
options?PriceOptionsother behavior options

Returns

Promise<number | undefined>

On this page