Package com.klaytn.caver.tx.type
Class TxTypeAccountUpdate
- java.lang.Object
-
- com.klaytn.caver.tx.type.AbstractTxType
-
- com.klaytn.caver.tx.type.TxTypeAccountUpdate
-
- All Implemented Interfaces:
TxType
@Deprecated public class TxTypeAccountUpdate extends AbstractTxType
Deprecated.Please useAccountUpdate
instead.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.klaytn.caver.tx.type.TxType
TxType.Type
-
-
Constructor Summary
Constructors Constructor Description TxTypeAccountUpdate(java.math.BigInteger nonce, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit, java.lang.String from, AccountKey accountKey)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static TxTypeAccountUpdate
createTransaction(java.math.BigInteger nonce, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit, java.lang.String from, AccountKey accountKey)
Deprecated.static TxTypeAccountUpdate
decodeFromRawTransaction(byte[] rawTransaction)
Deprecated.decode transaction hash from sender to reconstruct transaction with fee payer signature.static TxTypeAccountUpdate
decodeFromRawTransaction(java.lang.String rawTransaction)
Deprecated.AccountKey
getAccountKey()
Deprecated.protected java.util.List<org.web3j.crypto.ECKeyPair>
getEcKeyPairsForSenderSign(KlayCredentials credentials)
Deprecated.get the keys you need to sign transactionsTxType.Type
getType()
Deprecated.This method is overridden as ACCOUNT_UPDATE type.java.util.List<org.web3j.rlp.RlpType>
rlpValues()
Deprecated.create RlpTyp List which contains nonce, gas price, gas limit, from and accountKey List elements can be different depending on transaction type.-
Methods inherited from class com.klaytn.caver.tx.type.AbstractTxType
addSenderSignatureData, addSenderSignatureData, addSenderSignatureData, addSignatureData, addSignatureData, getEncodedTransactionNoSig, getFrom, getGasLimit, getGasPrice, getNewSenderSignatureDataSet, getNonce, getSenderSignatureData, getSenderSignatureDataSet, getSignatureData, getTo, getValue, setSenderSignatureData, sign
-
-
-
-
Constructor Detail
-
TxTypeAccountUpdate
public TxTypeAccountUpdate(java.math.BigInteger nonce, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit, java.lang.String from, AccountKey accountKey)
Deprecated.
-
-
Method Detail
-
createTransaction
public static TxTypeAccountUpdate createTransaction(java.math.BigInteger nonce, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit, java.lang.String from, AccountKey accountKey)
Deprecated.
-
getAccountKey
public AccountKey getAccountKey()
Deprecated.
-
rlpValues
public java.util.List<org.web3j.rlp.RlpType> rlpValues()
Deprecated.create RlpTyp List which contains nonce, gas price, gas limit, from and accountKey List elements can be different depending on transaction type.- Specified by:
rlpValues
in interfaceTxType
- Overrides:
rlpValues
in classAbstractTxType
- Returns:
- List RlpType List
-
getType
public TxType.Type getType()
Deprecated.This method is overridden as ACCOUNT_UPDATE type. The return value is used for rlp encoding.- Returns:
- Type transaction type
-
decodeFromRawTransaction
public static TxTypeAccountUpdate decodeFromRawTransaction(byte[] rawTransaction)
Deprecated.decode transaction hash from sender to reconstruct transaction with fee payer signature.- Parameters:
rawTransaction
- RLP-encoded signed transaction from sender- Returns:
- TxTypeAccountUpdate decoded transaction
-
decodeFromRawTransaction
public static TxTypeAccountUpdate decodeFromRawTransaction(java.lang.String rawTransaction)
Deprecated.- Parameters:
rawTransaction
- RLP-encoded signed transaction from sender- Returns:
- TxTypeAccountUpdate decoded transaction
-
getEcKeyPairsForSenderSign
protected java.util.List<org.web3j.crypto.ECKeyPair> getEcKeyPairsForSenderSign(KlayCredentials credentials)
Deprecated.get the keys you need to sign transactions- Overrides:
getEcKeyPairsForSenderSign
in classAbstractTxType
- Parameters:
credentials
- credentials for signing- Returns:
- List of keys for signing
-
-