UNPKG

zerion-sdk

Version:
12 lines (11 loc) 542 B
import { ChainData, FungibleTokenData } from "../types"; export declare const STATIC_CHAINS_MAINNET: ChainData[]; export declare const STATIC_NATIVE_TOKENS_MAINNET: Record<string, FungibleTokenData>; export declare const STATIC_CHAINS_TESTNET: ChainData[]; export declare const STATIC_NATIVE_TOKENS_TESTNET: Record<string, FungibleTokenData>; export declare class ZerionService { private readonly apiKey; private readonly env; constructor(apiKey: string, testnet: boolean); fetchFromZerion<T>(endpoint: string): Promise<T>; }