import TransactionType from '../TransactionType'; import BaseTransactionInstructions from './BaseInstructions'; /** * Create a unidirectional channel and fund it with XRP. * Taken from https://xrpl.org/paymentchannelcreate.html. * * @extends BaseTransactionInstructions * * @property Amount - Amount of XRP, in drops, to deduct from the sender's balance and set aside in this channel. * @property CancelAfter - The time, in seconds since the Ripple Epoch, when this channel expires. * @property Destination - Address to receive XRP claims against this channel. * @property DestinationTag - Arbitrary tag to further specify the destination for this payment channel, * such as a hosted recipient at the destination address. * @property PublicKey - The public key of the key pair the source will use to sign claims against this channel, in hexadecimal. * @property SettleDelay - Amount of time the source address must wait before closing the channel if it has unclaimed XRP. */ export default interface PaymentChannelCreateInstructions extends BaseTransactionInstructions { readonly TransactionType: TransactionType.PaymentChannelCreate; readonly Amount: string; readonly CancelAfter?: number; readonly Destination: string; readonly DestinationTag?: number; readonly PublicKey: string; readonly SettleDelay: number; } //# sourceMappingURL=PaymentChannelCreateInstructions.d.ts.map