Module io.hotmoka.node.api
Package io.hotmoka.node.api.responses
Interface NonInitialTransactionResponse
- All Superinterfaces:
io.hotmoka.marshalling.api.Marshallable,TransactionResponse,TransactionResponseWithUpdates
- All Known Subinterfaces:
CodeExecutionTransactionResponse,ConstructorCallTransactionExceptionResponse,ConstructorCallTransactionFailedResponse,ConstructorCallTransactionResponse,ConstructorCallTransactionSuccessfulResponse,JarStoreTransactionFailedResponse,JarStoreTransactionResponse,JarStoreTransactionSuccessfulResponse,MethodCallTransactionExceptionResponse,MethodCallTransactionFailedResponse,MethodCallTransactionResponse,NonVoidMethodCallTransactionSuccessfulResponse,VoidMethodCallTransactionSuccessfulResponse
A response for a non-initial transaction.
-
Method Summary
Modifier and TypeMethodDescriptionYields the amount of gas consumed by the transaction for CPU execution.Yields the amount of gas consumed by the transaction for RAM allocation.Yields the amount of gas consumed by the transaction for storage consumption.Methods inherited from interface io.hotmoka.marshalling.api.Marshallable
into, size, toByteArrayMethods inherited from interface io.hotmoka.node.api.responses.TransactionResponse
equals, hashCode, toStringMethods inherited from interface io.hotmoka.node.api.responses.TransactionResponseWithUpdates
getUpdates
-
Method Details
-
getGasConsumedForCPU
BigInteger getGasConsumedForCPU()Yields the amount of gas consumed by the transaction for CPU execution.- Returns:
- the amount of gas consumed by the transaction for CPU execution
-
getGasConsumedForRAM
BigInteger getGasConsumedForRAM()Yields the amount of gas consumed by the transaction for RAM allocation.- Returns:
- the amount of gas consumed by the transaction for RAM allocation
-
getGasConsumedForStorage
BigInteger getGasConsumedForStorage()Yields the amount of gas consumed by the transaction for storage consumption.- Returns:
- the amount of gas consumed by the transaction for storage consumption
-