UNPKG

@tatumio/tatum-v1

Version:

Tatum API client allows browsers and Node.js clients to interact with Tatum API.

12 lines (11 loc) 543 B
import { Consumption, Currency, Fiat, Rate } from '../model'; /** * For more details, see <a href="https://apidoc.tatum.io/#operation/getExchangeRate" target="_blank">Tatum API documentation</a> */ export declare const getExchangeRate: (currency: Fiat | Currency, basePair?: Fiat) => Promise<Rate>; /** * Returns credit consumption last of month. * * For more details, see <a href="https://apidoc.tatum.io/#operation/getCredits" target="_blank">Tatum API documentation</a> */ export declare const getUsage: () => Promise<Consumption[]>;