UNPKG

@ninerealms/midgard-client

Version:
43 lines 1.33 kB
import BigNumber from 'bignumber.js'; export interface StatsResponse { runeDepth: string; switchedRune: string; runePriceUSD: string; swapVolume: string; swapCount24h: string; swapCount30d: string; swapCount: string; toAssetCount: string; toRuneCount: string; dailyActiveUsers: string; monthlyActiveUsers: string; uniqueSwapperCount: string; addLiquidityVolume: string; withdrawVolume: string; impermanentLossProtectionPaid: string; addLiquidityCount: string; withdrawCount: string; } export interface Stats { runeDepth: BigNumber; switchedRune: BigNumber; runePriceUSD: BigNumber; swapVolume: BigNumber; swapCount24h: BigNumber; swapCount30d: BigNumber; swapCount: BigNumber; toAssetCount: BigNumber; toRuneCount: BigNumber; dailyActiveUsers: BigNumber; monthlyActiveUsers: BigNumber; uniqueSwapperCount: BigNumber; addLiquidityVolume: BigNumber; withdrawVolume: BigNumber; impermanentLossProtectionPaid: BigNumber; addLiquidityCount: BigNumber; withdrawCount: BigNumber; } export declare const hashValuesToBigNumber: (hash: object) => object; export declare const rawToStats: (stats: StatsResponse) => Stats; export declare const stats: () => Promise<Stats>; //# sourceMappingURL=stats.d.ts.map