import { RpcDispatcher } from "./clients"; import { Query } from "./Query"; declare const FullRpcClient_base: { new (...args: any[]): { getNep17Transfers(accountIdentifier: string, startTime?: string, endTime?: string): Promise; getNep17Balances(accountIdentifier: string): Promise; getNep11Transfers(accountIdentifier: string, startTime?: string, endTime?: string): Promise; getNep11Balances(accountIdentifier: string): Promise; url: string; execute(query: Query, config?: import("./clients").RpcConfig): Promise; executeAll(batchQuery: import("./BatchQuery").BatchQuery, config?: import("./clients").RpcConfig): Promise; executeAll(batchQuery: Query[], config?: import("./clients").RpcConfig): Promise; }; } & { new (...args: any[]): { getApplicationLog(blockOrTxHash: string): Promise; url: string; execute(query: Query, config?: import("./clients").RpcConfig): Promise; executeAll(batchQuery: import("./BatchQuery").BatchQuery, config?: import("./clients").RpcConfig): Promise; executeAll(batchQuery: Query[], config?: import("./clients").RpcConfig): Promise; }; } & { new (...args: any[]): { traverseIterator(sessionId: string, iteratorId: string, count: number): Promise; getBestBlockHash(): Promise; getBlock(indexOrHash: number | string, verbose?: 0 | false): Promise; getBlock(indexOrHash: number | string, verbose: 1 | true): Promise; getBlockHash(index: number): Promise; getBlockCount(): Promise; getBlockHeader(indexOrHash: number | string, verbose?: 0): Promise; getBlockHeader(indexOrHash: number | string, verbose: 1): Promise; getCommittee(): Promise; getContractState(scriptHash: string): Promise; getNativeContracts(): Promise; getRawMemPool(shouldGetUnverified?: 0 | false): Promise; getRawMemPool(shouldGetUnverified: 1 | true): Promise; getRawTransaction(txid: string, verbose?: 0 | false): Promise; getRawTransaction(txid: string, verbose: 1 | true): Promise; getStorage(scriptHash: string, key: string): Promise; findStorage(scriptHash: string, searchPrefix: string, start?: number): Promise; getTransactionHeight(txid: string): Promise; getConnectionCount(): Promise; getNextBlockValidators(): Promise; getPeers(): Promise; getVersion(): Promise; sendRawTransaction(transaction: import("../tx").Transaction | string | import("../u").HexString): Promise; submitBlock(block: string): Promise; getUnclaimedGas(addr: string): Promise; invokeContractVerify(scriptHash: string, args: unknown[], signers?: (import("../tx").Signer | import("../tx").SignerJson)[]): Promise; invokeFunction(scriptHash: string, operation: string, params?: unknown[], signers?: (import("../tx").Signer | import("../tx").SignerJson)[]): Promise>; invokeScript(script: string | import("../u").HexString, signers?: (import("../tx").Signer | import("../tx").SignerJson)[]): Promise; calculateNetworkFee(tx: import("../tx").Transaction | import("../u").HexString | string): Promise; listPlugins(): Promise; validateAddress(addr: string): Promise; url: string; execute(query: Query, config?: import("./clients").RpcConfig): Promise; executeAll(batchQuery: import("./BatchQuery").BatchQuery, config?: import("./clients").RpcConfig): Promise; executeAll(batchQuery: Query[], config?: import("./clients").RpcConfig): Promise; }; } & typeof RpcDispatcher; declare class FullRpcClient extends FullRpcClient_base { get [Symbol.toStringTag](): string; } /** * RPC Client model to query a NEO node. Contains built-in methods to query using RPC calls. */ export declare class RPCClient extends FullRpcClient { net: string; history: Query[]; lastSeenHeight: number; private _latencies; /** * @param net - A url pointing to a NEO RPC node. * @param version - version of NEO node. Used to check if RPC methods have been implemented. it will default to DEFAULT_RPC found in CONST */ constructor(net: string); get [Symbol.toStringTag](): string; get latency(): number; set latency(lat: number); /** * Measures the latency using getBlockCount call. Returns the current latency. For average, call this.latency */ ping(): Promise; } export default RPCClient; //# sourceMappingURL=RPCClient.d.ts.map