@signumjs/core
Version:
Principal package with functions and models for building Signum Network applications.
21 lines (20 loc) • 806 B
TypeScript
/**
* The argument object for {@link AccountApi.getAccountBlocks} and {@link 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
*
* Currently, the indices do not work on BRS API :(
* @see https://github.com/burst-apps-team/burstcoin/issues/477
*
* @param {boolean?} includeTransactions Includes the transactions also. Note, that this is call may take time
*
* @category args
*/
export interface GetAccountBlocksArgs {
accountId: string;
firstIndex?: number;
lastIndex?: number;
includeTransactions?: boolean;
}