PathPaymentStrictReceiveOpXdr

data class PathPaymentStrictReceiveOpXdr(val sendAsset: AssetXdr, val sendMax: Int64Xdr, val destination: MuxedAccountXdr, val destAsset: AssetXdr, val destAmount: Int64Xdr, val path: List<AssetXdr>)

XDR Source: struct PathPaymentStrictReceiveOp { Asset sendAsset; // asset we pay with int64 sendMax; // the maximum amount of sendAsset to // send (excluding fees). // The operation will fail if can't be met

MuxedAccount destination; // recipient of the payment
Asset destAsset;          // what they end up with
int64 destAmount;         // amount they end up with

Asset path<5>; // additional hops it must go through to get there

};

Constructors

Link copied to clipboard
constructor(sendAsset: AssetXdr, sendMax: Int64Xdr, destination: MuxedAccountXdr, destAsset: AssetXdr, destAmount: Int64Xdr, path: List<AssetXdr>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

amount they end up with

Link copied to clipboard

what they end up with

Link copied to clipboard

send (excluding fees). The operation will fail if can't be met recipient of the payment

Link copied to clipboard
Link copied to clipboard

asset we pay with

Link copied to clipboard

the maximum amount of sendAsset to

Functions

Link copied to clipboard
fun encode(writer: XdrWriter)