Class JsonBlockBody
- java.lang.Object
-
- com.syntifi.casper.sdk.model.block.JsonBlockBody
-
public class JsonBlockBody extends java.lang.Object
A JSON-friendly representation of `Body`- Since:
- 0.0.1
- See Also:
JsonBlock
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JsonBlockBody.JsonBlockBodyBuilder
-
Constructor Summary
Constructors Constructor Description JsonBlockBody()
JsonBlockBody(PublicKey proposer, java.util.List<java.lang.String> deployHashes, java.util.List<java.lang.String> transferHashes)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JsonBlockBody.JsonBlockBodyBuilder
builder()
java.util.List<java.lang.String>
getDeployHashes()
List of Hex-encoded hash digestPublicKey
getProposer()
java.util.List<java.lang.String>
getTransferHashes()
List of Hex-encoded hash digestvoid
setDeployHashes(java.util.List<java.lang.String> deployHashes)
List of Hex-encoded hash digestvoid
setProposer(PublicKey proposer)
void
setTransferHashes(java.util.List<java.lang.String> transferHashes)
List of Hex-encoded hash digest
-
-
-
Constructor Detail
-
JsonBlockBody
public JsonBlockBody(PublicKey proposer, java.util.List<java.lang.String> deployHashes, java.util.List<java.lang.String> transferHashes)
-
JsonBlockBody
public JsonBlockBody()
-
-
Method Detail
-
builder
public static JsonBlockBody.JsonBlockBodyBuilder builder()
-
getDeployHashes
public java.util.List<java.lang.String> getDeployHashes()
List of Hex-encoded hash digest
-
getTransferHashes
public java.util.List<java.lang.String> getTransferHashes()
List of Hex-encoded hash digest
-
setDeployHashes
public void setDeployHashes(java.util.List<java.lang.String> deployHashes)
List of Hex-encoded hash digest
-
setTransferHashes
public void setTransferHashes(java.util.List<java.lang.String> transferHashes)
List of Hex-encoded hash digest
-
-