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

    claimableBalanceID

    The claimable balance id to be claimed.

    sourceAccountId

    The 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?) throws

    Parameters

    fromXDR

    the ClawbackClaimableBalanceOpXDR object to be used to create a new ClawbackClaimableBalanceOperation object.

    sourceAccountId

    (optional) source account Id, must be valid, otherwise it will be ignored.