TransactionBody
A single transaction. All transaction types are possible here.
Field | Type | Description |
---|---|---|
| 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 |
| AccountID | The account of the node that submits the client's transaction to the network |
| uint64 | The maximum transaction fee the client is willing to pay |
| Duration | The transaction is invalid if consensusTimestamp > transactionID.transactionValidStart + transactionValidDuration |
| bool | Should a record of this transaction be generated? (A receipt is always generated, but the record is optional) |
| string | Any notes or descriptions that should be put into the record (max length 100) |
| ContractCallTransactionBody | Calls a function of a contract instance |
| ContractCreateTransactionBody | Creates a contract instance |
| ContractUpdateTransactionBody | Updates a contract |
| ContractDeleteTransactionBody | Delete contract and transfer remaining balance into specified account |
| CryptoAddLiveHashTransactionBody | Attach a new livehash to an account |
| CryptoApproveAllowanceTransactionBody | Adds one or more approved allowances for spenders to transfer the paying account's hbar or tokens. |
| CryptoDeleteAllowanceTransactionBody | Deletes one or more approved hbar or token allowances from an owner's account |
| CryptoCreateTransactionBody | Create a new cryptocurrency account |
| CryptoDeleteTransactionBody | Delete a cryptocurrency account (mark as deleted, and transfer hbars out) |
| CryptoDeleteLiveHashTransactionBody | Remove a livehash from an account |
| CryptoTransferTransactionBody | Transfer amount between accounts |
| CryptoUpdateTransactionBody | Modify information such as the expiration date for an account |
| FileAppendTransactionBody | Add bytes to the end of the contents of a file |
| FileCreateTransactionBody | Create a new file |
| FileDeleteTransactionBody | Delete a file (remove contents and mark as deleted until it expires) |
| FileUpdateTransactionBody | Modify information such as the expiration date for a file |
| SystemDeleteTransactionBody | Hedera administrative deletion of a file or smart contract |
| SystemUndeleteTransactionBody | To undelete an entity deleted by SystemDelete |
| FreezeTransactionBody | Freeze the nodes |
| ConsensusCreateTopicTransactionBody | Creates a topic |
| ConsensusUpdateTopicTransactionBody | Updates a topic |
| ConsensusDeleteTopicTransactionBody | Deletes a topic |
| ConsensusSubmitMessageTransactionBody | Submits message to a topic |
| UncheckedSubmitBody | |
| TokenCreateTransactionBody | Creates a token instance |
| TokenTransfersTransactionBody | Transfers tokens between accounts |
| TokenFreezeAccountTransactionBody | Freezes account not to be able to transact with a token |
| TokenUnfreezeAccountTransactionBody | Unfreezes account for a token |
| TokenGrantKycTransactionBody | Grants KYC to an account for a token |
| TokenRevokeKycTransactionBody | Revokes KYC of an account for a token |
| TokenDeleteTransactionBody | Deletes a token instance |
| TokenUpdateTransactionBody | Updates a token instance |
| TokenMintTransactionBody | Mints new tokens to a token's treasury account |
| TokenBurnTransactionBody | Burns tokens from a token's treasury account |
| TokenWipeAccountTransactionBody | Wipes amount of tokens from an account |
| TokenAssociateTransactionBody | Associate tokens to an account |
| TokenDissociateTransactionBody | Dissociate tokens from an account |
| TokenFeeScheduleUpdateTransactionBody | Updates a token's custom fee schedule |
| TokenPauseTransactionBody | Pauses the Token |
| TokenUnpauseTransactionBody | Unpauses the Token |
| ScheduleCreateTransactionBody | Creates a scheduled transaction instance |
| ScheduleDeleteTransactionBody | Deletes a scheduled transaction instance |
| ScheduleSignTransactionBody | Signs a scheduled transaction instance |
| CryptoAdjustAllowanceTransactionBody | Adjusts the approved allowance for a spender to transfer the paying account's hbar or tokens |
| CryptoApproveAllowanceTransactionBody | Adds one or more approved allowances for spenders to transfer the paying account's hbar or tokens |
Last updated