@kazeblockchain/krypton-js
Version:
Javascript libraries for kaze wallet using https://github.com/kazechainio/kazewallet/blob/master/js/wallet.js as the original source.
10 lines (7 loc) • 330 B
TypeScript
interface Prices {
[key: string]: number
}
/** DEPRECATED: Returns the price of coin in the symbol given */
export function getPrice(coin?: string, currency?: string): Promise<number>
/** Returns a mapping of the symbol for a coin to its price */
export function getPrices(coin?: string[], currency?: string): Promise<Prices>