import BigNumber from "bignumber.js"; import { HashOrBlockNumber, IChain, IChainConfig, QueryTransactionsResponse, QueryTxFilter, QueryTxFilterLoopring, TokeBalanceResponse, Token, Transaction } from "../types"; /** * https://beta.loopring.io/#/ * https://docs.loopring.io/en/dex_apis/ * https://explorer.loopring.io/ */ export declare class Loopring implements IChain { readonly chainConfig: IChainConfig; private tokens; constructor(chainConfig: IChainConfig); getLatestHeight(): Promise; getTokenList(): Promise; getTokenInfo(idOrAddrsss: string | number): Promise; getConfirmations(hashOrHeight: HashOrBlockNumber): Promise; calcConfirmations(targetHeight: number, latestHeight: number): Promise; convertTxToEntity(data: any): Promise; convertTxToMultiEntity(data: any): Promise; getTransactionByHash(hash: string): Promise; private getAccountInfo; getTransactions(address: string, filter: Partial): Promise; getTokenTransactions(address: string, tokenAddress: string | null, filter: Partial): Promise; getBalance(address: string): Promise; getBalances(address: string): Promise; getDecimals(): Promise; getTokenBalance(address: string, tokenAddress: string): Promise; getTokenDecimals(tokenAddress: string): Promise; getTokenSymbol(tokenAddress: string): Promise; }