Package com.syntifi.casper.sdk.model.era
Class EraSummary.EraSummaryBuilder
- java.lang.Object
-
- com.syntifi.casper.sdk.model.era.EraSummary.EraSummaryBuilder
-
- Enclosing class:
- EraSummary
public static class EraSummary.EraSummaryBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EraSummary.EraSummaryBuilder
blockHash(java.lang.String blockHash)
The block hashEraSummary
build()
EraSummary.EraSummaryBuilder
eraId(java.lang.Long eraId)
The era idEraSummary.EraSummaryBuilder
merkleProof(java.lang.String merkleProof)
The merkle proofEraSummary.EraSummaryBuilder
stateRootHash(java.lang.String stateRootHash)
Hex-encoded hash of the state rootEraSummary.EraSummaryBuilder
storedValue(StoredValueEraInfo storedValue)
The StoredValue containing era informationjava.lang.String
toString()
-
-
-
Method Detail
-
blockHash
public EraSummary.EraSummaryBuilder blockHash(java.lang.String blockHash)
The block hash- Returns:
this
.
-
eraId
public EraSummary.EraSummaryBuilder eraId(java.lang.Long eraId)
The era id- Returns:
this
.
-
merkleProof
public EraSummary.EraSummaryBuilder merkleProof(java.lang.String merkleProof)
The merkle proof- Returns:
this
.
-
stateRootHash
public EraSummary.EraSummaryBuilder stateRootHash(java.lang.String stateRootHash)
Hex-encoded hash of the state root- Returns:
this
.
-
storedValue
public EraSummary.EraSummaryBuilder storedValue(StoredValueEraInfo storedValue)
The StoredValue containing era information- Returns:
this
.
-
build
public EraSummary build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-