ClawbackOperation

data class ClawbackOperation(val from: String, val asset: Asset, val amount: String) : Operation

Represents a Clawback operation.

Constructors

Link copied to clipboard
constructor(from: String, asset: Asset, amount: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The amount to claw back

Link copied to clipboard

The asset to claw back (must not be native)

Link copied to clipboard

The account holding the asset to claw back

Link copied to clipboard

Optional source account for this operation.

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.