Package com.syntifi.casper.sdk.model.era
Class Reward
- java.lang.Object
-
- com.syntifi.casper.sdk.model.era.Reward
-
public class Reward extends java.lang.Object
Casper block era reward data- Since:
- 0.0.1
- See Also:
JsonEraReport
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Reward.RewardBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Reward.RewardBuilder
builder()
long
getAmount()
amountPublicKey
getValidator()
void
setAmount(long amount)
amountvoid
setValidator(PublicKey validator)
-
-
-
Constructor Detail
-
Reward
public Reward(PublicKey validator, long amount)
-
Reward
public Reward()
-
-
Method Detail
-
builder
public static Reward.RewardBuilder builder()
-
getAmount
public long getAmount()
amount
-
setAmount
public void setAmount(long amount)
amount
-
-