Class EraSummary


  • public class EraSummary
    extends java.lang.Object
    The summary of an era
    • Constructor Detail

      • 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
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object