Class TradeAction.TransferAction
Peer-to-peer transfer between two parties (no exchange).
public sealed record TradeAction.TransferAction : TradeAction, ITradeAction, IEquatable<TradeAction>, IEquatable<TradeAction.TransferAction>
- Inheritance
-
TradeAction.TransferAction
- Implements
- Inherited Members
Constructors
TransferAction(Signatory, Signatory, Symbol, DecimalAmount, string?)
Peer-to-peer transfer between two parties (no exchange).
public TransferAction(Signatory From, Signatory To, Symbol Asset, DecimalAmount Amount, string? Memo)
Parameters
FromSignatorySending party.
ToSignatoryReceiving party.
AssetSymbolAsset to transfer.
AmountDecimalAmountAmount to transfer.
MemostringOptional free-text memo.
Properties
Amount
Amount to transfer.
public DecimalAmount Amount { get; init; }
Property Value
Asset
Asset to transfer.
public Symbol Asset { get; init; }
Property Value
From
Sending party.
public Signatory From { get; init; }
Property Value
Memo
Optional free-text memo.
public string? Memo { get; init; }
Property Value
To
Receiving party.
public Signatory To { get; init; }