Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RevokeSponsorshipOperation

Structure representing a Stellar Revoke Sponsorship Operation.

Hierarchy

  • Operation<Horizon.OperationResponseType.revokeSponsorship, Horizon.OperationResponseTypeI.revokeSponsorship>
    • RevokeSponsorshipOperation

Index

Constructors

constructor

Properties

Optional accountId

accountId: string

The id of the account which is no longer sponsored.

Optional claimableBalanceId

claimableBalanceId: string

The id of the claimable balance which is no longer sponsored.

Readonly client

client: Client

createdAt

createdAt: Date

The operation's creation date.

createdTimestamp

createdTimestamp: number

The operation's creation timestamp.

Optional dataAccountId

dataAccountId: string

The id of the account whose data entry is no longer sponsored.

Optional dataName

dataName: string

The name of the data entry which is no longer sponsored.

id

id: string

The id of the operation.

Optional offerId

offerId: string

The id of the offer which is no longer sponsored.

pagingToken

pagingToken: string

A cursor value for use in pagination.

Optional signerAccountId

signerAccountId: string

The account id of the signer which is no longer sponsored.

Optional signerType

signerType: string

The type of the signer which is no longer sponsored.

sourceAccountId

sourceAccountId: string

The account that originates the operation.

transactionHash

transactionHash: string

A unique id for the transaction the operation belongs to.

Optional trustlineAccountId

trustlineAccountId: string

The id of the account whose trustline is no longer sponsored.

Optional trustlineAsset

trustlineAsset: string

The asset id of the trustline which is no longer sponsored.

type

type: revokeSponsorship

The numeric type of the operation.

typeName

typeName: revokeSponsorship

The name of the operation type.

Methods

$patch

  • $patch(data: RevokeSponsorshipOperationRecord): void

getAccount

  • getAccount(forceUpdate?: boolean): Promise<undefined | Account>

getClaimableBalance

  • getClaimableBalance(forceUpdate?: boolean): Promise<undefined | ClaimableBalance>

getDataAccount

  • getDataAccount(forceUpdate?: boolean): Promise<undefined | Account>

getDataAccountEntry

  • getDataAccountEntry(forceUpdate?: boolean): Promise<undefined | Data>
  • Get the data entry of the account which is no longer sponsored if there is one.

    Parameters

    • forceUpdate: boolean = false

      If set to true, it will not check in the cache and directly make a request to retrieve the data account entry instead.

    Returns Promise<undefined | Data>

    The no longer sponsored account data entry if there is one.

getEffects

getOffer

  • getOffer(forceUpdate?: boolean): Promise<undefined | Offer>

getSignerAccount

  • getSignerAccount(forceUpdate?: boolean): Promise<undefined | Account>

getSourceAccount

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

getTransaction

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

getTrustlineAccount

  • getTrustlineAccount(forceUpdate?: boolean): Promise<undefined | Account>

getTrustlineAsset

  • getTrustlineAsset(forceUpdate?: boolean): Promise<undefined | Asset>
  • Get the asset of the trustline which is no longer sponsored if there is one.

    Parameters

    • forceUpdate: boolean = false

      If set to true, it will not check in the cache and directly make a request to retrieve the trustline asset instead.

    Returns Promise<undefined | Asset>

    The no longer sponsored trustline asset if there is one.

Generated using TypeDoc