Skip to main content Link Menu Expand (external link) Document Search Copy Copied

AlgoTx

Model getters

Method name Return type Description Notes
getCloseRewards() float rewards applied to close-remainder-to account.
Example: 0
[optional]
getClosingAmount() float closing amount for transaction.
Example: 0
[optional]
getConfirmedRound() float Round when the transaction was confirmed.
Example: 16775567
[optional]
getFee() float Transaction fee
Example: 0.001
[optional]
getFirstValid() float First valid round for this transaction.
Example: 16775565
[optional]
getGenesisHash() string Hash of genesis block
Example: SGO1GKSzyE7IEPItTxCByw9x8FmnrCDexi9/cOUJOiI=
[optional]
getGenesisId() string genesis block ID.
Example: testnet-v1.0
[optional]
getId() string transaction ID
Example: HNIQ76UTJYPOLZP5FWODYABBJPYPGJNEM2QEJSMDMQRWEKHEYJHQ
[optional]
getIntraRoundOffset() float Offset into the round where this transaction was confirmed.
Example: 1
[optional]
getLastValid() float Last valid round for this transaction.
Example: 16775571
[optional]
getNote() string Free form data
Example: cGluZ3Bvbmf0Jyl21QrtLw==
[optional]
getPaymentTransaction() object payment Transaction
Example: null
[optional]
getReceiverRewards() float rewards applied to receiver account.
Example: 0
[optional]
getRoundTime() float Time when the block this transaction is in was confirmed.
Example: 1632167753
[optional]
getSender() string Sender’s address
Example: U6QEM4KM7KKGCLH4FELZBGJEVVSF556ELXHUOZC4ESPFS4O4V4VQXKQRXQ
[optional]
getSenderRewards() float rewards applied to sender account.
Example: 0
[optional]
getSignature() object signature
Example: null
[optional]
getTxType() string indicates what type of transaction this is. Different types have differnet fields.
Example: pay
[optional]