AllowTrustOperation

data class AllowTrustOperation(val trustor: String, val assetCode: String, val authorize: Int) : Operation

Represents an AllowTrust operation.

Deprecated: Use SetTrustLineFlagsOperation instead (Protocol 17+).

Constructors

Link copied to clipboard
constructor(trustor: String, assetCode: String, authorize: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The asset code of the trustline

Link copied to clipboard

Authorization level (0=unauthorized, 1=authorized, 2=authorized_to_maintain_liabilities)

Link copied to clipboard

Optional source account for this operation.

Link copied to clipboard

The account of the recipient of the trustline

Functions

Link copied to clipboard
open override fun toOperationBody(): OperationBodyXdr

Converts this operation to its XDR operation body representation.

Link copied to clipboard

Converts this operation to its full XDR representation, including the source account.