Class BalanceData
- java.lang.Object
-
- com.syntifi.casper.sdk.model.balance.BalanceData
-
public class BalanceData extends java.lang.Object
Root class for a Casper balance data request Result for "state_get_balance" RPC response- Since:
- 0.0.1
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BalanceData.BalanceDataBuilder
-
Constructor Summary
Constructors Constructor Description BalanceData()
BalanceData(java.lang.String apiVersion, java.math.BigInteger value, java.lang.String merkleProof)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BalanceData.BalanceDataBuilder
builder()
java.lang.String
getApiVersion()
The RPC API versionprotected java.lang.String
getJsonValue()
java.lang.String
getMerkleProof()
The merkle proofjava.math.BigInteger
getValue()
The balance valuevoid
setApiVersion(java.lang.String apiVersion)
The RPC API versionprotected void
setJsonValue(java.lang.String value)
void
setMerkleProof(java.lang.String merkleProof)
The merkle proofvoid
setValue(java.math.BigInteger value)
The balance value
-
-
-
Method Detail
-
getJsonValue
@ExcludeFromJacocoGeneratedReport protected java.lang.String getJsonValue()
-
setJsonValue
@ExcludeFromJacocoGeneratedReport protected void setJsonValue(java.lang.String value)
-
builder
public static BalanceData.BalanceDataBuilder builder()
-
getApiVersion
public java.lang.String getApiVersion()
The RPC API version
-
getValue
public java.math.BigInteger getValue()
The balance value
-
getMerkleProof
public java.lang.String getMerkleProof()
The merkle proof
-
setApiVersion
public void setApiVersion(java.lang.String apiVersion)
The RPC API version
-
setValue
public void setValue(java.math.BigInteger value)
The balance value
-
setMerkleProof
public void setMerkleProof(java.lang.String merkleProof)
The merkle proof
-
-