Module io.hotmoka.node.api
Package io.hotmoka.node.api.requests
Interface GameteCreationTransactionRequest
- All Superinterfaces:
InitialTransactionRequest<GameteCreationTransactionResponse>,io.hotmoka.marshalling.api.Marshallable,TransactionRequest<GameteCreationTransactionResponse>
public interface GameteCreationTransactionRequest
extends InitialTransactionRequest<GameteCreationTransactionResponse>
A request for creating an initial gamete, that is, an account of class
io.takamaka.code.lang.Gamete that holds the initial coins of the network.-
Method Summary
Modifier and TypeMethodDescriptionYields the classpath of the transactions, that should somehow reach the basic Takamaka classes.Yields the amount of coins provided to the gamete.Yields the Base64-encoded public key that will be assigned to the gamete.Methods inherited from interface io.hotmoka.marshalling.api.Marshallable
into, size, toByteArrayMethods inherited from interface io.hotmoka.node.api.requests.TransactionRequest
equals, hashCode, toString
-
Method Details
-
getClasspath
TransactionReference getClasspath()Yields the classpath of the transactions, that should somehow reach the basic Takamaka classes. This must have been already installed by a previous transaction.- Returns:
- the reference
-
getInitialAmount
BigInteger getInitialAmount()Yields the amount of coins provided to the gamete.- Returns:
- the amount of coins provided to the gamete
-
getPublicKey
String getPublicKey()Yields the Base64-encoded public key that will be assigned to the gamete.- Returns:
- the Base64-encoded public key that will be assigned to the gamete
-