import { TonCenterBlockInfo } from '../../models/ton/ton-center-types'; import { TonApiAccountInfoResp, TonApiAllNonNullableTokenInfoForWalletResp, TonApiTokenInfoForWalletResp, TonApiTokenInfoResp, TonApiTxDataByBocResp } from '../../models/ton/tonapi-types'; import { Web3PrimitiveType } from '../../models/web3-primitive-type'; export declare class TonApiService { private readonly xApiUrl; private readonly xApiKey; /** * * @param walletAddress in any format: raw or friendly */ fetchWalletSeqno(walletAddress: string): Promise; fetchTxInfo(txHash: string): Promise; fetchTxInfoByMessageHash(txHash: string): Promise; checkIsTxCompleted(txHash: string): Promise; healthcheck(): Promise; fetchLastBlockInfo(): Promise; /** * * @param walletAddress in any format: raw or friendly */ callContractMethod(walletAddress: string, methodName: string, methodArgs: Web3PrimitiveType[]): Promise; fetchTokenInfo(tokenAddress: string): Promise; /** * * @param tokenAddress in any form: raw or friendly * @returns balance, decimals, name, symbol, walletJettonAddress, jettonAddress */ fetchTokenInfoForWallet(walletAddress: string, tokenAddress: string): Promise; fetchAllNonNullableTokensInfoForWallet(walletAddress: string): Promise; /** * @returns available methods for walletAddress(contract), raw address and native coin TON balance */ fetchAccountInfo(walletAddress: string): Promise; }