Class HeightBlockIdentifier
- java.lang.Object
-
- com.syntifi.casper.sdk.identifier.block.HeightBlockIdentifier
-
- All Implemented Interfaces:
BlockIdentifier
public class HeightBlockIdentifier extends java.lang.Object implements BlockIdentifier
Identifier class passed to serviceCasperService.getBlock(BlockIdentifier)
to identify and retrieve the block given its height.- Since:
- 0.0.1
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HeightBlockIdentifier.HeightBlockIdentifierBuilder
-
Constructor Summary
Constructors Constructor Description HeightBlockIdentifier(long height)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HeightBlockIdentifier.HeightBlockIdentifierBuilder
builder()
long
getHeight()
Block heightvoid
setHeight(long height)
Block height
-
-
-
Method Detail
-
builder
public static HeightBlockIdentifier.HeightBlockIdentifierBuilder builder()
-
getHeight
public long getHeight()
Block height
-
setHeight
public void setHeight(long height)
Block height
-
-