@fruitsjs/core
Version:
Principal package with functions and models for building Fruits Eco-Blockchain applications.
26 lines (25 loc) • 1.14 kB
text/typescript
/**
* The argument object for [[AccountApi.getAccountTransactions]]
*
* @param {string} accountId The numeric accountId
* @param {string?} timestamp The timestamp (block time) you are looking for
* @param {number?} firstIndex The first index of the transaction list, beginning at 0
* @param {number?} lastIndex The last index of the transaction list (BRS does not return more than 500)
* @param {number?} numberOfConfirmations The minimum required number of confirmations per transaction
* @param {number?} type The type of transactions to fetch (see [[TransactionType]])
* @param {number?} subtype The subtype of transactions to fetch (see e.g. [[TransactionArbitrarySubtype]])
* @param {boolean?} includeIndirect Includes indirect transaction, i.e. multi out payments.
* For BRS Versions before 2.3.1 this must be `undefined`
*
* @module core
*/
export interface GetAccountTransactionsArgs {
accountId: string;
timestamp?: string;
firstIndex?: number;
includeIndirect?: boolean;
lastIndex?: number;
numberOfConfirmations?: number;
subtype?: number;
type?: number;
}