import BigNumber from "bignumber.js"; import { HashOrBlockNumber, IChain, IChainConfig, QueryTxFilterIMX, QueryTransactionsResponse, Transaction, Token, TokeBalanceResponse } from "../types"; import { ImmutableXClient } from "@imtbl/imx-sdk"; /** * https://immutascan.io/ * https://docs.x.immutable.com/docs/welcome */ export declare class ImmutableX implements IChain { readonly chainConfig: IChainConfig; private tokens; private client; constructor(chainConfig: IChainConfig); getLatestHeight(): Promise; createClient(): Promise; getTokenList(): Promise; getTokenInfo(idOrAddrsss: string | number): Promise; getConfirmations(_hashOrHeight: HashOrBlockNumber): Promise; calcConfirmations(_targetHeight: number, _latestHeight: number): Promise; getTransactionByHash(hash: string): Promise; static timestampToNonce(timestamp: number | string): number; convertTxToEntity(data: any): Promise; convertTxToMultiEntity(data: any): Promise; getTransactions(address: string, filter?: Partial): Promise; getTokenTransactions(_address: string, _tokenAddress: string, _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; }