public class UpdateContractTransaction extends AccountTransaction
| Modifier and Type | Class and Description |
|---|---|
static class |
UpdateContractTransaction.UpdateContractTransactionBuilder |
AccountTransaction.AccountTransactionBlockItemBuilderDEFAULT_NETWORK_ID, VERSION, VERSION_SIZE| Modifier and Type | Method and Description |
|---|---|
static UpdateContractTransaction.UpdateContractTransactionBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static UpdateContractTransaction |
from(UpdateContract payload,
AccountAddress sender,
Nonce nonce,
Expiry expiry,
TransactionSigner signer,
UInt64 maxEnergyCost)
Creates a new instance of
UpdateContractTransaction. |
int |
hashCode() |
String |
toString() |
builderAccountTransactionBlockItem, fromBytes, getExpiry, getHeader, getNonce, getPayload, getSender, getSignaturefromVersionedBytes, getBlockItemType, getBytesclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetHash, getNetworkId, getVersionedBytespublic static UpdateContractTransaction from(UpdateContract payload, AccountAddress sender, Nonce nonce, Expiry expiry, TransactionSigner signer, UInt64 maxEnergyCost)
UpdateContractTransaction.payload - UpdateContract of the transaction.sender - Sender (AccountAddress) of this Transaction.nonce - Account Nonce Of the Sender Account.expiry - Expiry of this transaction.signer - Signer of this transaction.maxEnergyCost - the maximum energy allowed to spend on this transaction.TransactionCreationException - On failure to create the Transaction from input params.
Ex when any of the input param is NULL.public static UpdateContractTransaction.UpdateContractTransactionBuilder builder()
public boolean equals(Object o)
equals in class AccountTransactionprotected boolean canEqual(Object other)
canEqual in class AccountTransactionpublic int hashCode()
hashCode in class AccountTransactionpublic String toString()
toString in class AccountTransactionCopyright © 2025. All rights reserved.