Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AllowTrustOperation

Structure representing a Stellar Allow Trust Operation.

Hierarchy

  • Operation<Horizon.OperationResponseType.allowTrust, Horizon.OperationResponseTypeI.allowTrust>
    • AllowTrustOperation

Index

Constructors

constructor

Properties

assetCode

assetCode: string

The Stellar address of the asset.

assetIssuerId

assetIssuerId: string

The code for the asset.

assetType

assetType: AssetType

The type of asset. Either native, credit_alphanum4, or credit_alphanum12.

authorize

authorize: boolean

Whether or not the issuer authorize the issuing account to perform transactions with its credit.

authorizeToMaintainLiabilities

authorizeToMaintainLiabilities: boolean

Whether or not the issuer authorize the issuing account to maintain and reduce liabilities for its credit.

Readonly client

client: Client

createdAt

createdAt: Date

The operation's creation date.

createdTimestamp

createdTimestamp: number

The operation's creation timestamp.

id

id: string

The id of the operation.

pagingToken

pagingToken: string

A cursor value for use in pagination.

sourceAccountId

sourceAccountId: string

The account that originates the operation.

transactionHash

transactionHash: string

A unique id for the transaction the operation belongs to.

trusteeId

trusteeId: string

The id of the issuing account, or source account.

trustorId

trustorId: string

The id of the trusting account, or the account being authorized or unauthorized.

type

type: allowTrust

The numeric type of the operation.

typeName

typeName: allowTrust

The name of the operation type.

Methods

$patch

  • $patch(data: AllowTrustOperationRecord): void

getAsset

  • getAsset(forceUpdate?: boolean): Promise<undefined | Asset>

getEffects

getSourceAccount

  • getSourceAccount(forceUpdate?: boolean): Promise<Account>

getTransaction

  • getTransaction(forceUpdate?: boolean): Promise<Transaction>

getTrusteeAccount

  • getTrusteeAccount(forceUpdate?: boolean): Promise<Account>

getTrustorAccount

  • getTrustorAccount(forceUpdate?: boolean): Promise<Account>

Generated using TypeDoc