Interface NonInitialTransactionRequest<R extends NonInitialTransactionResponse>

Type Parameters:
R - the type of the corresponding response
All Superinterfaces:
io.hotmoka.marshalling.api.Marshallable, TransactionRequest<R>
All Known Subinterfaces:
AbstractInstanceMethodCallTransactionRequest, CodeExecutionTransactionRequest<R>, ConstructorCallTransactionRequest, InstanceMethodCallTransactionRequest, InstanceSystemMethodCallTransactionRequest, JarStoreTransactionRequest, MethodCallTransactionRequest, StaticMethodCallTransactionRequest

public interface NonInitialTransactionRequest<R extends NonInitialTransactionResponse> extends TransactionRequest<R>
A request for a transaction that can only be run after the node has been initialized.
  • Method Summary

    Modifier and Type
    Method
    Description
    Yields the externally owned caller contract that pays for the transaction.
    Yields the class path that specifies where the caller should be interpreted.
    Yields the amount of gas provided to the transaction.
    Yields the coins paid for each unit of gas consumed by the transaction.
    Yields the nonce used for transaction ordering and to forbid transaction replay on the same chain.

    Methods inherited from interface io.hotmoka.marshalling.api.Marshallable

    into, size, toByteArray

    Methods inherited from interface io.hotmoka.node.api.requests.TransactionRequest

    equals, hashCode, toString
  • Method Details

    • getCaller

      StorageReference getCaller()
      Yields the externally owned caller contract that pays for the transaction.
      Returns:
      the caller
    • getGasLimit

      BigInteger getGasLimit()
      Yields the amount of gas provided to the transaction.
      Returns:
      the amount of gas
    • getGasPrice

      BigInteger getGasPrice()
      Yields the coins paid for each unit of gas consumed by the transaction.
      Returns:
      the coins paid for each unit of gas consumed by the transaction
    • getClasspath

      TransactionReference getClasspath()
      Yields the class path that specifies where the caller should be interpreted.
      Returns:
      the class path
    • getNonce

      BigInteger getNonce()
      Yields the nonce used for transaction ordering and to forbid transaction replay on the same chain. It is relative to the caller.
      Returns:
      the nonce