@types/limestonefi__api
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

Installation

npm install --save @types/limestonefi__api

Summary

This package contains type definitions for @limestonefi/api (https://github.com/limestone-finance/limestone-api).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/limestonefi__api.

index.d.ts

interface PriceData {
    price: number;
    updated: Date;
}

/**
 * Get the price of a supported token
 *
 * @param token Token symbol
 * @returns Price data
 */
export function getPrice(token: string): Promise<PriceData>;
export {};

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:38 GMT
  • Dependencies: none

Credits

These definitions were written by Marton Lederer.

/@types/limestonefi__api/

    Package Sidebar

    Install

    npm i @types/limestonefi__api

    Weekly Downloads

    0

    Version

    0.1.3

    License

    MIT

    Unpacked Size

    3.09 kB

    Total Files

    5

    Last publish

    Collaborators

    • types