@fruitsjs/core
Version:
Principal package with functions and models for building Fruits Eco-Blockchain applications.
18 lines (17 loc) • 697 B
text/typescript
/**
* The argument object for [[AccountApi.getAccountBlocks]] and [[AccountApi.getAccountBlockIds]]
*
* @param {string} accountId The numeric accountId
* @param {number} firstIndex The first index of a chunk of the list you want fetch. Use indices to paginate your calls
* @param {number} firstIndex The last index of a chunk of the list you want fetch. Use indices to paginate your calls
*
*
* @param {boolean?} includeTransactions Includes the transactions also. Note, that this is call may take time
* @module core
*/
export interface GetAccountBlocksArgs {
accountId: string;
firstIndex?: number;
lastIndex?: number;
includeTransactions?: boolean;
}