PaymentOperation

data class PaymentOperation(val destination: String, val asset: Asset, val amount: String) : Operation

Represents a Payment operation.

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Amount of the asset to send

Link copied to clipboard

Asset to send to the destination account

Link copied to clipboard

Account address that receives the payment

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.