open-libra-sdk
Version:
A minimalist Typescript library for interacting with the Open Libra blockchain.
15 lines • 698 B
TypeScript
import type { TransactionResponse } from "@aptos-labs/ts-sdk";
import { LibraClient } from "../client/client";
/**
* Returns the latest versions up to the given limit.
* @param client LibraClient instance
* @param limit Number of versions to return
*/
export declare function getLatestTxVersions(client: LibraClient, limit: number, only_user_txs: boolean): Promise<TransactionResponse[]>;
/**
* Returns the latest blocks up to the given limit.
* @param client LibraClient instance
* @param limit Number of blocks to return
*/
export declare function getLatestBlocks(client: LibraClient, limit: number): Promise<import("@aptos-labs/ts-sdk").Block[]>;
//# sourceMappingURL=ledgerInfo.d.ts.map