ClawbackClaimableBalanceOperation
public class ClawbackClaimableBalanceOperation : Operation, @unchecked Sendable
Represents a Stellar clawback claimable balance operation allowing issuers to reclaim unclaimedbalances.
-
The claimable balance id to be clawed back.
Declaration
Swift
public let claimableBalanceID: String -
Creates a new ClawbackClaimableBalanceOperation object.
Declaration
Swift
public init(claimableBalanceID: String, sourceAccountId: String? = nil)Parameters
claimableBalanceIDThe claimable balance id to be claimed.
sourceAccountIdThe source account of the operation. Optional. Defaults to the transaction’s source account.
-
Creates a new ClawbackClaimableBalanceOperation object from the given ClawbackClaimableBalanceOpXDR object.
Declaration
Swift
public init(fromXDR: ClawbackClaimableBalanceOpXDR, sourceAccountId: String?) throwsParameters
fromXDRthe ClawbackClaimableBalanceOpXDR object to be used to create a new ClawbackClaimableBalanceOperation object.
sourceAccountId(optional) source account Id, must be valid, otherwise it will be ignored.
View on GitHub
Install in Dash