public class TxTypeSmartContractDeploy extends AbstractTxType
TxType.Type
Constructor and Description |
---|
TxTypeSmartContractDeploy(java.math.BigInteger nonce,
java.math.BigInteger gasPrice,
java.math.BigInteger gasLimit,
java.math.BigInteger value,
java.lang.String from,
byte[] payload,
java.math.BigInteger codeFormat) |
Modifier and Type | Method and Description |
---|---|
static TxTypeSmartContractDeploy |
createTransaction(java.math.BigInteger nonce,
java.math.BigInteger gasPrice,
java.math.BigInteger gasLimit,
java.math.BigInteger value,
java.lang.String from,
byte[] payload,
java.math.BigInteger codeFormat) |
java.math.BigInteger |
getCodeFormat() |
byte[] |
getPayload() |
TxType.Type |
getType()
This method is overridden as SMART_CONTRACT_DEPLOY type.
|
java.util.List<org.web3j.rlp.RlpType> |
rlpValues()
create RlpType List which contains nonce, gas price, gas limit, to, value, from, payload and isHumanReadable.
|
getEncodedTransactionNoSig, getFrom, getGasLimit, getGasPrice, getNonce, getSenderSignatureData, getSignatureData, getTo, getValue, setSenderSignatureData, sign
public TxTypeSmartContractDeploy(java.math.BigInteger nonce, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit, java.math.BigInteger value, java.lang.String from, byte[] payload, java.math.BigInteger codeFormat)
public static TxTypeSmartContractDeploy createTransaction(java.math.BigInteger nonce, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit, java.math.BigInteger value, java.lang.String from, byte[] payload, java.math.BigInteger codeFormat)
public byte[] getPayload()
public java.math.BigInteger getCodeFormat()
public java.util.List<org.web3j.rlp.RlpType> rlpValues()
rlpValues
in interface TxType
rlpValues
in class AbstractTxType
public TxType.Type getType()