AllowTrustOperation class

Represents AllowTrust operation. See List of Operations

Inheritance

Constructors

AllowTrustOperation(String _trustor, String _assetCode, bool _authorize, bool _authorizeToMaintainLiabilities)

Properties

assetCode String
The asset of the trustline the source account is authorizing. For example, if a gateway wants to allow another account to hold its USD credit, the type is USD.
no setter
authorize bool
Flag indicating whether the trustline is authorized.
no setter
authorizeToMaintainLiabilities bool
Flag indicating whether the trustline is authorized to maintain liabilities.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceAccount MuxedAccount?
getter/setter pairinherited
trustor String
The account id of the recipient of the trustline.
no setter

Methods

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

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

builder(XdrAllowTrustOp op) AllowTrustOperationBuilder
Builds AllowTrust operation.