public abstract class TransactionLocation
extends java.lang.Object
| Constructor and Description |
|---|
TransactionLocation() |
| Modifier and Type | Method and Description |
|---|---|
abstract long |
getHeight()
Height of the block where the transaction was committed.
|
abstract long |
getIndexInBlock()
Zero-based position of this transaction in the block.
|
static com.google.gson.TypeAdapter<TransactionLocation> |
typeAdapter(com.google.gson.Gson gson)
Provides a Gson type adapter for this class.
|
static TransactionLocation |
valueOf(long height,
long indexInBlock) |
public static TransactionLocation valueOf(long height, long indexInBlock)
public abstract long getHeight()
public abstract long getIndexInBlock()
public static com.google.gson.TypeAdapter<TransactionLocation> typeAdapter(com.google.gson.Gson gson)
TransactionLocationAdapterFactoryCopyright © 2019 Exonum. All rights reserved.