Package com.syntifi.casper.sdk.model.era
Class EraSummary
- java.lang.Object
-
- com.syntifi.casper.sdk.model.era.EraSummary
-
public class EraSummary extends java.lang.Object
The summary of an era
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EraSummary.EraSummaryBuilder
-
Constructor Summary
Constructors Constructor Description EraSummary()
EraSummary(java.lang.String blockHash, java.lang.Long eraId, java.lang.String merkleProof, java.lang.String stateRootHash, StoredValueEraInfo storedValue)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EraSummary.EraSummaryBuilder
builder()
java.lang.String
getBlockHash()
The block hashjava.lang.Long
getEraId()
The era idjava.lang.String
getMerkleProof()
The merkle proofjava.lang.String
getStateRootHash()
Hex-encoded hash of the state rootStoredValueEraInfo
getStoredValue()
The StoredValue containing era informationvoid
setBlockHash(java.lang.String blockHash)
The block hashvoid
setEraId(java.lang.Long eraId)
The era idvoid
setMerkleProof(java.lang.String merkleProof)
The merkle proofvoid
setStateRootHash(java.lang.String stateRootHash)
Hex-encoded hash of the state rootvoid
setStoredValue(StoredValueEraInfo storedValue)
The StoredValue containing era information
-
-
-
Constructor Detail
-
EraSummary
public EraSummary(java.lang.String blockHash, java.lang.Long eraId, java.lang.String merkleProof, java.lang.String stateRootHash, StoredValueEraInfo storedValue)
-
EraSummary
public EraSummary()
-
-
Method Detail
-
builder
public static EraSummary.EraSummaryBuilder builder()
-
getBlockHash
public java.lang.String getBlockHash()
The block hash
-
getEraId
public java.lang.Long getEraId()
The era id
-
getMerkleProof
public java.lang.String getMerkleProof()
The merkle proof
-
getStateRootHash
public java.lang.String getStateRootHash()
Hex-encoded hash of the state root
-
getStoredValue
public StoredValueEraInfo getStoredValue()
The StoredValue containing era information
-
setBlockHash
public void setBlockHash(java.lang.String blockHash)
The block hash
-
setEraId
public void setEraId(java.lang.Long eraId)
The era id
-
setMerkleProof
public void setMerkleProof(java.lang.String merkleProof)
The merkle proof
-
setStateRootHash
public void setStateRootHash(java.lang.String stateRootHash)
Hex-encoded hash of the state root
-
setStoredValue
public void setStoredValue(StoredValueEraInfo storedValue)
The StoredValue containing era information
-
-