PathPaymentStrictSendOpXdr

data class PathPaymentStrictSendOpXdr(val sendAsset: AssetXdr, val sendAmount: Int64Xdr, val destination: MuxedAccountXdr, val destAsset: AssetXdr, val destMin: Int64Xdr, val path: List<AssetXdr>)

XDR Source: struct PathPaymentStrictSendOp { Asset sendAsset; // asset we pay with int64 sendAmount; // amount of sendAsset to send (excluding fees)

MuxedAccount destination; // recipient of the payment
Asset destAsset;          // what they end up with
int64 destMin;            // the minimum amount of dest asset to
                          // be received
                          // The operation will fail if it can't be met

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

};

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

what they end up with

Link copied to clipboard

recipient of the payment

Link copied to clipboard

the minimum amount of dest asset to

Link copied to clipboard
Link copied to clipboard

amount of sendAsset to send (excluding fees)

Link copied to clipboard

asset we pay with

Functions

Link copied to clipboard
fun encode(writer: XdrWriter)