PathPaymentOperation class

Represents PathPayment operation.

Inheritance

Constructors

PathPaymentOperation(Asset sendAsset, String sendMax, KeyPair destination, Asset destAsset, String destAmount, List<Asset> path)

Properties

destAmount String
The amount of destination asset the destination account receives.
read-only
destAsset Asset
The asset the destination account receives.
read-only
destination KeyPair
Account that receives the payment.
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
path List<Asset>
The assets (other than send asset and destination asset) involved in the offers the path takes. For example, if you can only find a path from USD to EUR through XLM and BTC, the path would be USD -» XLM -» BTC -» EUR and the path would contain XLM and BTC.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
sendAsset Asset
The asset deducted from the sender's account.
read-only
sendMax String
The maximum amount of send asset to deduct (excluding fees)
read-only
sourceAccount KeyPair
Returns operation source account.
read / write, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toOperationBody() XdrOperationBody
Generates OperationBody XDR object
override
toString() String
Returns a string representation of this object.
inherited
toXdr() XdrOperation
Generates Operation XDR object.
inherited
toXdrBase64() String
Returns base64-encoded Operation XDR object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Static Methods

Builder(XdrPathPaymentOp op) PathPaymentOperationBuilder
Builds PathPayment operation.