UNPKG

@signumjs/core

Version:

Principal package with functions and models for building Signum Network applications.

11 lines (10 loc) 463 B
import { Amount } from '@signumjs/util'; import { Transaction } from '../typings/transaction'; /** * Gets the amount from a transaction, considering ordinary and multi out transactions (with same and different payments) * @param recipientId The numeric id of the recipient * @param transaction The payment transaction * @return the amount value object * */ export declare function getRecipientsAmount(recipientId: string, transaction: Transaction): Amount;