Package com.casper.sdk.model.balance
Class BalanceHoldWithProof
- java.lang.Object
-
- com.casper.sdk.model.balance.BalanceHoldWithProof
-
public class BalanceHoldWithProof extends java.lang.ObjectHolds active at the requested point in time.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBalanceHoldWithProof.BalanceHoldWithProofBuilder
-
Constructor Summary
Constructors Constructor Description BalanceHoldWithProof()BalanceHoldWithProof(long time, java.math.BigInteger amount, java.lang.String proof)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BalanceHoldWithProof.BalanceHoldWithProofBuilderbuilder()java.math.BigIntegergetAmount()The amount in the hold.java.lang.StringgetProof()A proof that the given value is present in the Merkle trie.longgetTime()The block time at which the hold was created.voidsetAmount(java.math.BigInteger amount)The amount in the hold.voidsetProof(java.lang.String proof)A proof that the given value is present in the Merkle trie.voidsetTime(long time)The block time at which the hold was created.
-
-
-
Method Detail
-
builder
public static BalanceHoldWithProof.BalanceHoldWithProofBuilder builder()
-
getTime
public long getTime()
The block time at which the hold was created.
-
getAmount
public java.math.BigInteger getAmount()
The amount in the hold.
-
getProof
public java.lang.String getProof()
A proof that the given value is present in the Merkle trie.
-
setTime
public void setTime(long time)
The block time at which the hold was created.
-
setAmount
public void setAmount(java.math.BigInteger amount)
The amount in the hold.
-
setProof
public void setProof(java.lang.String proof)
A proof that the given value is present in the Merkle trie.
-
-