Class PaymentTransaction
Inheritance
PaymentTransaction
Assembly: Algorand.dll
Syntax
[MessagePackObject(false, AllowPrivate = true)]
public class PaymentTransaction : Transaction, IReturnableTransaction
Constructors
|
Edit this page
View Source
PaymentTransaction()
Declaration
public PaymentTransaction()
|
Edit this page
View Source
PaymentTransaction(Address, Address, ulong?, string, ulong, ulong?, string, string)
Flat Fee Payment Transaction
Declaration
public PaymentTransaction(Address from, Address to, ulong? amount, string message, ulong flatFee, ulong? lastRound, string genesisId, string genesishashb64)
Parameters
Properties
|
Edit this page
View Source
Amount
Declaration
[JsonProperty("amt", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
[Key("amt")]
public ulong? Amount { get; set; }
Property Value
|
Edit this page
View Source
CloseRemainderTo
Declaration
[JsonProperty("close", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
[Key("close")]
public Address CloseRemainderTo { get; set; }
Property Value
|
Edit this page
View Source
ClosingAmount
Declaration
[JsonIgnore]
[IgnoreMember]
public ulong? ClosingAmount { get; }
Property Value
|
Edit this page
View Source
Receiver
Declaration
[JsonProperty("rcv", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
[Key("rcv")]
public Address Receiver { get; set; }
Property Value
|
Edit this page
View Source
type
Declaration
[JsonProperty(PropertyName = "type")]
[Key("type")]
public string type { get; }
Property Value
Methods
|
Edit this page
View Source
GetPaymentTransactionFromNetworkTransactionParameters(Address, Address, ulong, string, TransactionParametersResponse)
Get a payment transaction
Declaration
public static PaymentTransaction GetPaymentTransactionFromNetworkTransactionParameters(Address from, Address to, ulong amount, string message, TransactionParametersResponse trans)
Parameters
Returns
|
Edit this page
View Source
GetPaymentTransactionWithSuggestedFee(Address, Address, ulong, string, ulong, ulong, string, string)
Get a payment transaction with the fee set to a suggested fee per txn size
Declaration
public static PaymentTransaction GetPaymentTransactionWithSuggestedFee(Address from, Address to, ulong amount, string message, ulong suggestedFeePerByte, ulong lastRound, string genesisId, string genesishashb64)
Parameters
Returns
|
Edit this page
View Source
ShouldSerializeAmount()
Declaration
public bool ShouldSerializeAmount()
Returns
Implements
Extension Methods