• Api Documentation
Show / Hide Table of Contents
  • Algorand
    • Address
    • ApiException
    • ApiException<TResult>
    • Digest
    • HttpClientConfigurator
    • LogicsigSignature
    • MultisigAddress
    • MultisigSignature
    • MultisigSubsig
    • ParticipationPublicKey
    • Signature
    • TEALProgram
    • TxGroup
    • VRFPublicKey
  • Algorand.Algod
    • DefaultApi
    • DefaultApi.ObjectResponseResult<T>
    • IDefaultApi
  • Algorand.Algod.Model
    • Account
    • AccountApplicationResponse
    • AccountAssetResponse
    • AccountBalanceRecord
    • AccountDeltas
    • AccountParticipation
    • AccountSigType
    • AccountStateDelta
    • AccountTotals
    • Application
    • ApplicationLocalState
    • ApplicationParams
    • ApplicationStateSchema
    • AppResourceRecord
    • Asset
    • AssetHolding
    • AssetParams
    • AssetResourceRecord
    • Block
    • BlockHashResponse
    • Box
    • BoxDescriptor
    • BoxesResponse
    • BuildVersion
    • CertifiedBlock
    • CompileResponse
    • DisassembleResponse
    • DryrunRequest
    • DryrunResponse
    • DryrunSource
    • DryrunState
    • DryrunTxnResult
    • ErrorResponse
    • EvalDelta
    • EvalDeltaKeyValue
    • FileParameter
    • Format
    • GetSyncRoundResponse
    • KvDelta
    • LedgerStateDelta
    • LightBlockHeaderProof
    • ModifiedApp
    • ModifiedAsset
    • NodeStatusResponse
    • ParticipationKey
    • PendingTransactions
    • PostTransactionsResponse
    • ProofResponse
    • SimulateResponse
    • SimulateTransactionGroupResult
    • SimulateTransactionResult
    • StateDelta
    • StateProof
    • StateProofMessage
    • SupplyResponse
    • TealKeyValue
    • TealValue
    • TransactionParametersResponse
    • TransactionProofResponse
    • TxLease
    • Version
  • Algorand.Algod.Model.Transactions
    • ApplicationCallTransaction
    • ApplicationClearStateTransaction
    • ApplicationCloseOutTransaction
    • ApplicationCreateTransaction
    • ApplicationDeleteTransaction
    • ApplicationNoopTransaction
    • ApplicationOptInTransaction
    • ApplicationUpdateTransaction
    • AssetAcceptTransaction
    • AssetChangeTransaction
    • AssetClawbackTransaction
    • AssetConfigurationTransaction
    • AssetCreateTransaction
    • AssetDestroyTransaction
    • AssetFreezeTransaction
    • AssetMovementsTransaction
    • AssetTransferTransaction
    • AssetUpdateTransaction
    • IReturnableTransaction
    • KeyRegisterOfflineTransaction
    • KeyRegisterOnlineTransaction
    • KeyRegistrationTransaction
    • OnCompletion
    • PaymentTransaction
    • SignedTransaction
    • StateSchema
    • Transaction
  • Algorand.Algod.Test
    • TestHttpMessageHandler
  • Algorand.Crypto
    • KeyPair
  • Algorand.Indexer
    • CommonApi
    • CommonApi.ObjectResponseResult<T>
    • ICommonApi
    • ILookupApi
    • ISearchApi
    • LookupApi
    • LookupApi.ObjectResponseResult<T>
    • SearchApi
    • SearchApi.ObjectResponseResult<T>
  • Algorand.Indexer.Model
    • Account
    • AccountParticipation
    • AccountResponse
    • AccountsResponse
    • AccountStateDelta
    • Application
    • ApplicationLocalState
    • ApplicationLocalStatesResponse
    • ApplicationLogData
    • ApplicationLogsResponse
    • ApplicationParams
    • ApplicationResponse
    • ApplicationsResponse
    • ApplicationStateSchema
    • Asset
    • AssetBalancesResponse
    • AssetHolding
    • AssetHoldingsResponse
    • AssetParams
    • AssetResponse
    • AssetsResponse
    • Block
    • BlockRewards
    • BlockUpgradeState
    • BlockUpgradeVote
    • ErrorResponse
    • EvalDelta
    • EvalDeltaKeyValue
    • HealthCheck
    • MiniAssetHolding
    • StateSchema
    • TealKeyValue
    • TealValue
    • Transaction
    • TransactionApplication
    • TransactionAssetConfig
    • TransactionAssetFreeze
    • TransactionAssetTransfer
    • TransactionKeyreg
    • TransactionPayment
    • TransactionResponse
    • TransactionSignature
    • TransactionSignatureLogicsig
    • TransactionSignatureMultisig
    • TransactionSignatureMultisigSubsignature
    • TransactionsResponse
  • Algorand.KMD
    • Api
    • Api.ObjectResponseResult<T>
    • ApiException
    • ApiException<TResult>
    • APIV1DELETEKeyResponse
    • APIV1DELETEMultisigResponse
    • APIV1GETWalletsResponse
    • APIV1POSTKeyExportResponse
    • APIV1POSTKeyImportResponse
    • APIV1POSTKeyListResponse
    • APIV1POSTKeyResponse
    • APIV1POSTMasterKeyExportResponse
    • APIV1POSTMultisigExportResponse
    • APIV1POSTMultisigImportResponse
    • APIV1POSTMultisigListResponse
    • APIV1POSTMultisigProgramSignResponse
    • APIV1POSTMultisigTransactionSignResponse
    • APIV1POSTProgramSignResponse
    • APIV1POSTTransactionSignResponse
    • APIV1POSTWalletInfoResponse
    • APIV1POSTWalletInitResponse
    • APIV1POSTWalletReleaseResponse
    • APIV1POSTWalletRenameResponse
    • APIV1POSTWalletRenewResponse
    • APIV1POSTWalletResponse
    • APIV1Wallet
    • APIV1WalletHandle
    • CreateWalletRequest
    • DeleteKeyRequest
    • DeleteMultisigRequest
    • ExportKeyRequest
    • ExportMasterKeyRequest
    • ExportMultisigRequest
    • GenerateKeyRequest
    • IApi
    • ImportKeyRequest
    • ImportMultisigRequest
    • InitWalletHandleTokenRequest
    • ListKeysRequest
    • ListMultisigRequest
    • MultisigSig
    • MultisigSubsig
    • ReleaseWalletHandleTokenRequest
    • RenameWalletRequest
    • RenewWalletHandleTokenRequest
    • SignMultisigRequest
    • SignProgramMultisigRequest
    • SignProgramRequest
    • SignTransactionRequest
    • VersionsResponse
    • WalletInfoRequest
  • Algorand.Utils
    • ByteConstBlock
    • BytesConverter
    • Digester
    • Encoder
    • IntConstBlock
    • Logic
    • Logic.Uvarint
    • Mnemonic
    • MultisigAddressConverter
    • OrderedContractResolver
    • ProgramData
    • ReturnedTransactionConverter
    • Utils
    • VarintResult
    • Wordlist
  • Algorand.Utils.Crypto
    • FixedSecureRandom

Class PaymentTransaction

Inheritance
object
Transaction
PaymentTransaction
Implements
IReturnableTransaction
Inherited Members
Transaction.ShouldSerializeNote()
Transaction.ShouldSerializeLease()
Transaction.ShouldSerializeGenesisId()
Transaction.Lease
Transaction.Note
Transaction.ConfirmedRound
Transaction.Committed
Transaction.ReceiverRewards
Transaction.SenderRewards
Transaction.CloseRewards
Transaction.PoolError
Transaction.SetFeeByFeePerByte(ulong?)
Transaction.BytesToSign()
Transaction.RawTxID()
Transaction.TxID()
Transaction.SetFee(ulong)
Transaction.Sign(Account)
Transaction.Sign(ulong, Account)
Transaction.Sign(LogicsigSignature)
Transaction.Sign(MultisigAddress, Account)
Transaction.EstimatedEncodedSize()
Transaction.Fee
Transaction.FirstValid
Transaction.GenesisId
Transaction.GenesisHash
Transaction.Group
Transaction.LastValid
Transaction.RekeyTo
Transaction.Sender
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Algorand.Algod.Model.Transactions
Assembly: Algorand.dll
Syntax
public class PaymentTransaction : Transaction, IReturnableTransaction

Constructors

| Improve this Doc View Source

PaymentTransaction()

Declaration
public PaymentTransaction()
| Improve this Doc 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
Type Name Description
Address from
Address to
ulong? amount
string message
ulong flatFee
ulong? lastRound
string genesisId
string genesishashb64

Properties

| Improve this Doc View Source

Amount

Declaration
[JsonProperty("amt", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public ulong? Amount { get; set; }
Property Value
Type Description
ulong?
| Improve this Doc View Source

CloseRemainderTo

Declaration
[JsonProperty("close", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public Address CloseRemainderTo { get; set; }
Property Value
Type Description
Address
| Improve this Doc View Source

ClosingAmount

Declaration
[JsonIgnore]
public ulong? ClosingAmount { get; }
Property Value
Type Description
ulong?
| Improve this Doc View Source

Receiver

Declaration
[JsonProperty("rcv", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public Address Receiver { get; set; }
Property Value
Type Description
Address
| Improve this Doc View Source

type

Declaration
[JsonProperty(PropertyName = "type")]
public string type { get; }
Property Value
Type Description
string

Methods

| Improve this Doc 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
Type Name Description
Address from

from address

Address to

to address

ulong amount

amount(Unit:MicroAlgo)

string message

message

TransactionParametersResponse trans

Transaction Params(use AlgodApi.TransactionParams() function to get the params)

Returns
Type Description
PaymentTransaction

payment transaction

| Improve this Doc 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
Type Name Description
Address from
Address to
ulong amount
string message
ulong suggestedFeePerByte
ulong lastRound
string genesisId
string genesishashb64
Returns
Type Description
PaymentTransaction

Implements

IReturnableTransaction
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾