public class DeployModuleTransaction extends AccountTransaction
DeployModuleTransaction deploys compiled WASM smart contract module to chain.| Modifier and Type | Class and Description |
|---|---|
static class |
DeployModuleTransaction.DeployModuleBlockItemBuilder |
static class |
DeployModuleTransaction.DeployModuleTransactionBuilder |
AccountTransaction.AccountTransactionBlockItemBuilderDEFAULT_NETWORK_ID, VERSION, VERSION_SIZE| Modifier and Type | Method and Description |
|---|---|
static DeployModuleTransaction.DeployModuleTransactionBuilder |
builder() |
static DeployModuleTransaction.DeployModuleBlockItemBuilder |
builderBlockItem() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static DeployModuleTransaction |
from(AccountAddress sender,
Nonce nonce,
Expiry expiry,
TransactionSigner signer,
WasmModule module,
UInt64 maxEnergyCost) |
int |
hashCode() |
String |
toString() |
builderAccountTransactionBlockItem, fromBytes, getExpiry, getHeader, getNonce, getPayload, getSender, getSignaturefromVersionedBytes, getBlockItemType, getBytesclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetHash, getNetworkId, getVersionedBytespublic static DeployModuleTransaction from(AccountAddress sender, Nonce nonce, Expiry expiry, TransactionSigner signer, WasmModule module, UInt64 maxEnergyCost)
sender - Sender (AccountAddress) of this Transaction.nonce - Account Nonce Of the Sender Account.expiry - Expiry of this transaction.signer - Signer of this transaction.module - WasmModule Compiled Source code of the Smart Contract Module.maxEnergyCost - Energy allowed for this transaction.DeployModuleTransactionTransactionCreationException - On failure to create the Transaction from input params.
Ex when any of the input param is NULL.public static DeployModuleTransaction.DeployModuleTransactionBuilder builder()
public static DeployModuleTransaction.DeployModuleBlockItemBuilder builderBlockItem()
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.