Class PayingForTransaction
java.lang.Object
com.kryptokrauts.aeternity.sdk.service.transaction.type.AbstractTransaction<PayingForTransactionModel>
com.kryptokrauts.aeternity.sdk.service.transaction.type.impl.PayingForTransaction
public class PayingForTransaction extends AbstractTransaction<PayingForTransactionModel>
-
Field Summary
Fields inherited from class com.kryptokrauts.aeternity.sdk.service.transaction.type.AbstractTransaction
model
-
Constructor Summary
Constructors Constructor Description PayingForTransaction()
-
Method Summary
Modifier and Type Method Description protected io.reactivex.Single<UnsignedTx>
createInternal()
this method needs to be implemented for testing purposes (non native mode)org.apache.tuweni.bytes.Bytes
createRLPEncodedList()
generates a Bytes object from the attributes.protected FeeCalculationModel
getFeeCalculationModel()
fee calculation model for this transaction type, one ofFeeCalculationModel
Methods inherited from class com.kryptokrauts.aeternity.sdk.service.transaction.type.AbstractTransaction
checkZeroAndWriteValue, createUnsignedTransaction, getModel
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
PayingForTransaction
public PayingForTransaction()
-
-
Method Details
-
createInternal
Description copied from class:AbstractTransaction
this method needs to be implemented for testing purposes (non native mode)- Specified by:
createInternal
in classAbstractTransaction<PayingForTransactionModel>
- Returns:
- a single-wrapped unsignedTx object
-
createRLPEncodedList
public org.apache.tuweni.bytes.Bytes createRLPEncodedList()Description copied from class:AbstractTransaction
generates a Bytes object from the attributes. this is necessary for calculating the fee based on RLP encoding- Specified by:
createRLPEncodedList
in classAbstractTransaction<PayingForTransactionModel>
- Returns:
Bytes
-
getFeeCalculationModel
Description copied from class:AbstractTransaction
fee calculation model for this transaction type, one ofFeeCalculationModel
- Overrides:
getFeeCalculationModel
in classAbstractTransaction<PayingForTransactionModel>
- Returns:
- instance of the
FeeCalculationModel
to use for fee calculation
-