meteor-nem-library
Version:
Meteor NIS1 Library
16 lines (15 loc) • 685 B
TypeScript
import { Transaction } from '../../models/transaction/Transaction';
import { BTransferTransaction } from '../models/bTransferTransaction';
/**
* Filters a list of Transactions and only returns transactions of type Transfer
* @param {Transaction} transaction
* @returns {boolean} isTransferTransaction
*/
export declare const transferFilter: (transaction: Transaction) => boolean;
/**
* Parses through list of transactions and casts them to CacheTransferTransaction so we
* can have access to important transfer details
* @param {Transaction} transaction
* @returns {TransferTransaction}
*/
export declare const mapTransfer: (transaction: Transaction) => BTransferTransaction;