@cryptovarna/tedex-api
Version:
TEDEX API
10 lines (9 loc) • 708 B
TypeScript
import { EthEventInfo, IToken, Web3WalletProvider } from "@cryptovarna/tron-web-api";
import { contract } from "../../contract";
import { IHistoryRow, IPeriod, StakedEventCustom } from "../index";
export declare function getAllEvents(type: string, contract: contract, wallet: Web3WalletProvider, topics?: string[], estBlock?: number, currentBlock?: number): Promise<EthEventInfo<StakedEventCustom>[]>;
export declare function getHistoryRows(type: string, wallet: Web3WalletProvider, token: IToken, contract: contract, topics: string[], minBlock: string | number, maxBlock: string | number, period: IPeriod): Promise<{
events: IHistoryRow[];
nativeToken: IToken;
stableToken: IToken;
}>;