Skip to content

Latest commit

 

History

History
37 lines (33 loc) · 4.54 KB

transactionbody.md

File metadata and controls

37 lines (33 loc) · 4.54 KB

TransactionBody

TransactionBody

A single transaction. All transaction types are possible here.

Field Type Description
transactionID TransactionID The ID for this transaction, which includes the payer's account (the account paying the transaction fee). If two transactions have the same transactionID, they won't both have an effect
nodeAccountID AccountID The account of the node that submits the client's transaction to the network
transactionFee The maximum transaction fee the client is willing to pay, which is split between the network and the node
transactionValidDuration Duration The transaction is invalid if consensusTimestamp > transactionID.transactionValidStart + transactionValidDuration
generateRecord Should a record of this transaction be generated? (A receipt is always generated, but the record is optional)
memo Any notes or descriptions that should be put into the record (max length 100)
data oneof
contractCall ContractCallTransactionBody Contains the call a function of a contract instance
contractCreateInstance ContractCreateTransactionBody Contains the create data a contract instance
contractUpdateInstance ContractUpdateTransactionBody Contains contract modify info such as expiration date for a contract instance
contractDeleteInstance ContractDeleteTransactionBody Delete contract and transfer remaining balance into specified account
cryptoAddLiveHash CryptoAddClaimTransactionBody Attach a new claim to an account
cryptoCreateAccount CryptoCreateTransactionBody Create a new cryptocurrency account
cryptoDelete CryptoDeleteTransactionBody Delete a cryptocurrency account (mark as deleted, and transfer hbars out)
cryptoDeleteLiveHash CryptoDeleteClaimTransactionBody Remove a claim from an account
cryptoTransfer CryptoTransferTransactionBody Transfer amount between accounts
cryptoUpdateAccount CryptoUpdateTransactionBody Modify information such as the expiration date for an account
fileAppend FileAppendTransactionBody Add bytes to the end of the contents of a file
fileCreate FileCreateTransactionBody Create a new file
fileDelete FileDeleteTransactionBody Delete a file (remove contents and mark as deleted until it expires)
fileUpdate FileUpdateTransactionBody Modify information such as the expiration date for a file
systemDelete SystemDeleteTransactionBody Hedera multisig system deletes a file or smart contract
systemUndelete SystemUndeleteTransactionBody To undelete an entity deleted by SystemDelete
freeze FreezeTransactionBody Freeze the nodes
consensusCreateTopic ConsensusCreateTopicTransactionBody Create a topic
consensusUpdateTopic ConsensusUpdateTopicTransactionBody Update a topic
consensusDeleteTopic ConsensusDeleteTopicTransactionBody Delete a topic
consensusSubmitMessage ConsensusSubmitMessageTransactionBody Submit a message to a topic