Builder

class Builder
A single transaction. All transaction types are possible here.
Protobuf type TW.Hedera.Proto.TransactionBody

Functions

Link copied to clipboard
Link copied to clipboard
Any notes or descriptions that should be put into the record (max length 100)
string memo = 5;
Link copied to clipboard
The account of the node that submits the client's transaction to the network
string nodeAccountID = 2;
Link copied to clipboard
The maximum transaction fee the client is willing to pay
uint64 transactionFee = 3;
Link copied to clipboard
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
.TW.Hedera.Proto.TransactionID transactionID = 1;
Link copied to clipboard
The transaction is invalid if consensusTimestamp > transactionID.transactionValidStart + transactionValidDuration
int64 transactionValidDuration = 4;
Link copied to clipboard
Transfer amount between accounts
.TW.Hedera.Proto.TransferMessage transfer = 6;
Link copied to clipboard
Link copied to clipboard
open fun getMemo(): String
Any notes or descriptions that should be put into the record (max length 100)
string memo = 5;
Link copied to clipboard
open fun getMemoBytes(): ByteString
Any notes or descriptions that should be put into the record (max length 100)
string memo = 5;
Link copied to clipboard
The account of the node that submits the client's transaction to the network
string nodeAccountID = 2;
Link copied to clipboard
open fun getNodeAccountIDBytes(): ByteString
The account of the node that submits the client's transaction to the network
string nodeAccountID = 2;
Link copied to clipboard
The maximum transaction fee the client is willing to pay
uint64 transactionFee = 3;
Link copied to clipboard
open fun getTransactionID(): 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
.TW.Hedera.Proto.TransactionID transactionID = 1;
Link copied to clipboard
The transaction is invalid if consensusTimestamp > transactionID.transactionValidStart + transactionValidDuration
int64 transactionValidDuration = 4;
Link copied to clipboard
open fun getTransfer(): TransferMessage
Transfer amount between accounts
.TW.Hedera.Proto.TransferMessage transfer = 6;
Link copied to clipboard
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
.TW.Hedera.Proto.TransactionID transactionID = 1;
Link copied to clipboard
open fun hasTransfer(): Boolean
Transfer amount between accounts
.TW.Hedera.Proto.TransferMessage transfer = 6;
Link copied to clipboard
open fun mergeTransactionID(value: TransactionID): Hedera.TransactionBody.Builder
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
.TW.Hedera.Proto.TransactionID transactionID = 1;
Link copied to clipboard
open fun mergeTransfer(value: TransferMessage): Hedera.TransactionBody.Builder
Transfer amount between accounts
.TW.Hedera.Proto.TransferMessage transfer = 6;
Link copied to clipboard
Any notes or descriptions that should be put into the record (max length 100)
string memo = 5;
Link copied to clipboard
open fun setMemoBytes(value: ByteString): Hedera.TransactionBody.Builder
Any notes or descriptions that should be put into the record (max length 100)
string memo = 5;
Link copied to clipboard
The account of the node that submits the client's transaction to the network
string nodeAccountID = 2;
Link copied to clipboard
The account of the node that submits the client's transaction to the network
string nodeAccountID = 2;
Link copied to clipboard
The maximum transaction fee the client is willing to pay
uint64 transactionFee = 3;
Link copied to clipboard
open fun setTransactionID(builderForValue: Builder): Hedera.TransactionBody.Builder
open fun setTransactionID(value: TransactionID): Hedera.TransactionBody.Builder
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
.TW.Hedera.Proto.TransactionID transactionID = 1;
Link copied to clipboard
The transaction is invalid if consensusTimestamp > transactionID.transactionValidStart + transactionValidDuration
int64 transactionValidDuration = 4;
Link copied to clipboard
open fun setTransfer(builderForValue: Builder): Hedera.TransactionBody.Builder
open fun setTransfer(value: TransferMessage): Hedera.TransactionBody.Builder
Transfer amount between accounts
.TW.Hedera.Proto.TransferMessage transfer = 6;