Class AccountBaker
- Namespace
- Concordium.Sdk.Types
- Assembly
- Concordium.Sdk.dll
The account is a baker.
public sealed record AccountBaker : IAccountStakingInfo, IEquatable<AccountBaker>
- Inheritance
-
AccountBaker
- Implements
- Inherited Members
Constructors
AccountBaker(bool, CcdAmount, BakerInfo, AccountBakerPendingChange?, BakerPoolInfo?)
The account is a baker.
public AccountBaker(bool RestakeEarnings, CcdAmount StakedAmount, BakerInfo BakerInfo, AccountBakerPendingChange? PendingChange, BakerPoolInfo? BakerPoolInfo)
Parameters
RestakeEarnings
boolStakedAmount
CcdAmountBakerInfo
BakerInfoPendingChange
AccountBakerPendingChangeBakerPoolInfo
BakerPoolInfo
Properties
BakerInfo
public BakerInfo BakerInfo { get; init; }
Property Value
BakerPoolInfo
public BakerPoolInfo? BakerPoolInfo { get; init; }
Property Value
PendingChange
public AccountBakerPendingChange? PendingChange { get; init; }
Property Value
RestakeEarnings
public bool RestakeEarnings { get; init; }
Property Value
StakedAmount
public CcdAmount StakedAmount { get; init; }
Property Value
Methods
GetStakedAmount()
Get the amount of CCD being staked.
public CcdAmount GetStakedAmount()