Package com.klaytn.caver.tx.type
Class TxTypeCancel
- java.lang.Object
-
- com.klaytn.caver.tx.type.AbstractTxType
-
- com.klaytn.caver.tx.type.TxTypeCancel
-
- All Implemented Interfaces:
TxType
@Deprecated public class TxTypeCancel extends AbstractTxType
Deprecated.Please useCancel
instead.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.klaytn.caver.tx.type.TxType
TxType.Type
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TxTypeCancel(java.math.BigInteger nonce, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit, java.lang.String from)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static TxTypeCancel
createTransaction(java.math.BigInteger nonce, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit, java.lang.String from)
Deprecated.static TxTypeCancel
decodeFromRawTransaction(byte[] rawTransaction)
Deprecated.decode transaction hash from sender to reconstruct transaction with fee payer signature.static TxTypeCancel
decodeFromRawTransaction(java.lang.String rawTransaction)
Deprecated.TxType.Type
getType()
Deprecated.This method is overridden as CANCEL type.java.util.List<org.web3j.rlp.RlpType>
rlpValues()
Deprecated.create RlpType List which contains nonce, gas price, gas limit and from.-
Methods inherited from class com.klaytn.caver.tx.type.AbstractTxType
addSenderSignatureData, addSenderSignatureData, addSenderSignatureData, addSignatureData, addSignatureData, getEcKeyPairsForSenderSign, getEncodedTransactionNoSig, getFrom, getGasLimit, getGasPrice, getNewSenderSignatureDataSet, getNonce, getSenderSignatureData, getSenderSignatureDataSet, getSignatureData, getTo, getValue, setSenderSignatureData, sign
-
-
-
-
Method Detail
-
createTransaction
public static TxTypeCancel createTransaction(java.math.BigInteger nonce, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit, java.lang.String from)
Deprecated.
-
rlpValues
public java.util.List<org.web3j.rlp.RlpType> rlpValues()
Deprecated.create RlpType List which contains nonce, gas price, gas limit and from. 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 CANCEL type. The return value is used for rlp encoding.- Returns:
- Type transaction type
-
decodeFromRawTransaction
public static TxTypeCancel 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:
- TxTypeCancel decoded transaction
-
decodeFromRawTransaction
public static TxTypeCancel decodeFromRawTransaction(java.lang.String rawTransaction)
Deprecated.- Parameters:
rawTransaction
- RLP-encoded signed transaction from sender- Returns:
- TxTypeCancel decoded transaction
-
-