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