import TransactionType from '../TransactionType'; import CurrencyAmount from '../util/CurrencyAmount'; import PaymentPath from '../util/PaymentPath'; import BaseTransactionInstructions from './BaseInstructions'; /** * A payment from one account to another. * Taken from https://xrpl.org/payment.html. * * @extends BaseTransactionInstructions * * @property Amount - The amount of currency to deliver. If the tfPartialPayment flag is set, deliver up to this amount instead. * @property DeliverMin - Minimum amount of destination currency this transaction should deliver. Only * valid if this is a partial payment. * @property Destination - The unique address of the account receiving the payment. * @property DestinationTag - Arbitrary tag that identifies the reason for the payment to the destination, * or a hosted recipient to pay. * @property InvoiceID - Arbitrary 256-bit hash representing a specific reason or identifier for this payment. * @property Paths - Array of payment paths to be used for this transaction. Must be omitted for XRP-to-XRP transactions. * @property SendMax - Highest amount of source currency this transaction is allowed to cost, including * transfer fees, exchange rates, and slippage. Does not include the XRP destroyed as a cost for * submitting the transaction. Must be omitted for XRP-to-XRP payments. */ export default interface PaymentInstructions extends BaseTransactionInstructions { readonly TransactionType: TransactionType.Payment; readonly Amount: CurrencyAmount; readonly DeliverMin?: CurrencyAmount; readonly Destination: string; readonly DestinationTag?: number; readonly InvoiceID?: string; readonly Paths?: PaymentPath[]; readonly SendMax?: CurrencyAmount; } //# sourceMappingURL=PaymentInstructions.d.ts.map