Class AccountDelegation
- Namespace
- Concordium.Sdk.Types
- Assembly
- Concordium.Sdk.dll
The account is delegating stake to a baker.
public sealed record AccountDelegation : IAccountStakingInfo, IEquatable<AccountDelegation>
- Inheritance
-
AccountDelegation
- Implements
- Inherited Members
Constructors
AccountDelegation(bool, CcdAmount, DelegationTarget, IAccountDelegationPendingChange?)
The account is delegating stake to a baker.
public AccountDelegation(bool RestakeEarnings, CcdAmount StakedAmount, DelegationTarget DelegationTarget, IAccountDelegationPendingChange? PendingChange)
Parameters
RestakeEarnings
boolStakedAmount
CcdAmountDelegationTarget
DelegationTargetPendingChange
IAccountDelegationPendingChange
Properties
DelegationTarget
public DelegationTarget DelegationTarget { get; init; }
Property Value
PendingChange
public IAccountDelegationPendingChange? 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()