Get the grpc deadline
Get the max attempts on the request
Get the max backoff
Get the min backoff
Is transaction ID regeneration enabled
Get the curent transaction ID
Get the transaction memo
Get the transaction valid duration
Add a signature explicitly
This method requires the transaction to have exactly 1 node account ID set since different node account IDs have different byte representations and hence the same signature would not work for all transactions that are the same except for node account ID being different.
Execute the request using a client and an optional request timeout
Execute this request using the signer
This method is part of the signature providers feature https://hips.hedera.com/hip/hip-338
Freeze this transaction from future modification to prepare for signing or serialization.
Freeze this transaction from further modification to prepare for signing or serialization.
Will use the Client
, if available, to generate a default Transaction ID and select 1/3
nodes to prepare this transaction for.
Freeze the transaction using a signer
This is part of the signature provider feature.
Convert this transaction a ScheduleCreateTransaction
setCallDataFileId()
insteadFor large transactions (for example contract create) this is the callData of the callData. The data in the callData will be re-written with the callData element as a zero length string with the original contents in the referenced file at time of execution. The callData will need to be "rehydrated" with the callData for signature validation to pass.
For large transactions (for example contract create) this is the callData of the callData. The data in the callData will be re-written with the callData element as a zero length string with the original contents in the referenced file at time of execution. The callData will need to be "rehydrated" with the callData for signature validation to pass.
The raw Ethereum transaction (RLP encoded type 0, 1, and 2). Complete unless the callData field is set.
Set the grpc deadline
Set logger
Set the max attempts on the request
Set the max backoff for the request
-- use setMaxGasAllowanceHbar instead
The maximum amount, in tinybars, that the payer of the hedera transaction is willing to pay to complete the transaction.
Ordinarily the account with the ECDSA alias corresponding to the public key that is extracted from the ethereum_data signature is responsible for fees that result from the execution of the transaction. If that amount of authorized fees is not sufficient then the payer of the transaction can be charged, up to but not exceeding this amount. If the ethereum_data transaction authorized an amount that was insufficient then the payer will only be charged the amount needed to make up the difference. If the gas price in the transaction was set to zero then the payer will be assessed the entire fee.
Set the maximum transaction fee the operator (paying account) is willing to pay.
Set the min backoff for the request
Set the node account IDs
Set the maximum transaction fee the operator (paying account) is willing to pay.
Set the ID for this transaction.
The transaction ID includes the operator's account ( the account paying the transaction fee). If two transactions have the same transaction ID, they won't both have an effect. One will complete normally and the other will fail with a duplicate transaction status.
Normally, you should not use this method. Just before a transaction is executed, a transaction ID will be generated from the operator on the client.
Set a note or description to be recorded in the transaction record (maximum length of 100 bytes).
Sets the duration (in seconds) that this transaction is valid for.
This is defaulted to 120 seconds (from the time its executed).
Sign the transaction with the private key
NOTE: This is a thin wrapper around .signWith()
Sign the transaction with the public key and signer function
If sign on demand is enabled no signing will be done immediately, instead
the private key signing function and public key are saved to be used when
a user calls an exit condition method (not sure what a better name for this is)
such as toBytes[Async]()
, getTransactionHash[PerNode]()
or execute()
.
Sign the transaction with the client operator. This is a thin wrapper
around .signWith()
NOTE: If client does not have an operator set, this method will throw
Sign the transaction using a signer
This is part of the signature provider feature
Static
_fromThis method is called by each *Transaction._fromProtobuf()
method. It does
all the finalization before the user gets hold of a complete Transaction
Static
fromDeserialize a transaction from bytes. The bytes can either be a proto.Transaction
or
proto.TransactionList
.
Generated using TypeDoc
Create a new Hedera™ transaction wrapped ethereum transaction.