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
| Parameter | Type | Description |
|---|---|---|
chainId | ChainId | chain id refers to CHAIN_MAP |
coinType | string | - |
date | Date | - |
options? | PriceOptions | other behavior options |
Returns
Promise<number | undefined>