Skip to main content

Payment

Namespace: IotaSdk

A single payment: a recipient address paired with the amount to send.

public record class Payment : System.IDisposable, System.IEquatable`1[[IotaSdk.Payment, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]

Inheritance ObjectPayment
Implements IDisposable, IEquatable<Payment>
Attributes NullableContextAttribute, NullableAttribute

Properties

Recipient

The recipient address.

public Address Recipient { get; init; }

Property Value

Address

Amount

The amount to send, in the coin's smallest unit.

public PtbArgument Amount { get; init; }

Property Value

PtbArgument

Constructors

Payment(Address, PtbArgument)

A single payment: a recipient address paired with the amount to send.

public Payment(Address Recipient, PtbArgument Amount)

Parameters

Recipient Address
The recipient address.

Amount PtbArgument
The amount to send, in the coin's smallest unit.

Methods

Dispose()

public void Dispose()