Package com.casper.sdk.identifier.global
Class StateRootHashIdentifier
- java.lang.Object
-
- com.casper.sdk.identifier.global.StateRootHashIdentifier
-
- All Implemented Interfaces:
GlobalStateIdentifier
public class StateRootHashIdentifier extends java.lang.Object implements GlobalStateIdentifier
Identifier class passed to serviceCasperService.queryGlobalState(GlobalStateIdentifier, String, String[])to identify and retrieve the global state given the state root hash- Since:
- 0.2.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStateRootHashIdentifier.StateRootHashIdentifierBuilder
-
Constructor Summary
Constructors Constructor Description StateRootHashIdentifier(java.lang.String hash)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StateRootHashIdentifier.StateRootHashIdentifierBuilderbuilder()java.lang.StringgetHash()State root hashvoidsetHash(java.lang.String hash)State root hash
-
-
-
Method Detail
-
builder
public static StateRootHashIdentifier.StateRootHashIdentifierBuilder builder()
-
getHash
public java.lang.String getHash()
State root hash
-
setHash
public void setHash(java.lang.String hash)
State root hash
-
-