Class HashBlockIdentifier
- java.lang.Object
-
- com.syntifi.casper.sdk.identifier.block.HashBlockIdentifier
-
- All Implemented Interfaces:
BlockIdentifier
public class HashBlockIdentifier extends java.lang.Object implements BlockIdentifier
Identifier class passed to serviceCasperService.getBlock(BlockIdentifier)
to identify and retrieve the block given its hash.- Since:
- 0.0.1
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HashBlockIdentifier.HashBlockIdentifierBuilder
-
Constructor Summary
Constructors Constructor Description HashBlockIdentifier(java.lang.String hash)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HashBlockIdentifier.HashBlockIdentifierBuilder
builder()
java.lang.String
getHash()
Block hashvoid
setHash(java.lang.String hash)
Block hash
-
-
-
Method Detail
-
builder
public static HashBlockIdentifier.HashBlockIdentifierBuilder builder()
-
getHash
public java.lang.String getHash()
Block hash
-
setHash
public void setHash(java.lang.String hash)
Block hash
-
-