Class EraSummary


  • public class EraSummary
    extends java.lang.Object
    The summary of an era
    • 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

      • 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