public interface TransactionContext
| Modifier and Type | Interface and Description |
|---|---|
static class |
TransactionContext.Builder
Transaction context builder.
|
| Modifier and Type | Method and Description |
|---|---|
static TransactionContext.Builder |
builder()
Returns the builder of the transaction context.
|
com.exonum.binding.common.crypto.PublicKey |
getAuthorPk()
Returns public key of the transaction author.
|
Fork |
getFork()
Returns database view allowing R/W operations.
|
int |
getServiceId()
Returns the numeric id of the service instance.
|
String |
getServiceName()
Returns the name of the service instance.
|
com.exonum.binding.common.hash.HashCode |
getTransactionMessageHash()
Returns SHA-256 hash of the transaction message that
carried the payload from which the transaction was created.
|
Fork getFork()
com.exonum.binding.common.hash.HashCode getTransactionMessageHash()
com.exonum.binding.common.crypto.PublicKey getAuthorPk()
CryptoFunctions.ed25519() signature
with this public key.String getServiceName()
ServiceInstanceSpec.getName()int getServiceId()
ServiceInstanceSpec.getId()static TransactionContext.Builder builder()
Copyright © 2019 Exonum. All rights reserved.