Table of Contents

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 bool
StakedAmount CcdAmount
BakerInfo BakerInfo
PendingChange AccountBakerPendingChange
BakerPoolInfo BakerPoolInfo

Properties

BakerInfo

public BakerInfo BakerInfo { get; init; }

Property Value

BakerInfo

BakerPoolInfo

public BakerPoolInfo? BakerPoolInfo { get; init; }

Property Value

BakerPoolInfo

PendingChange

public AccountBakerPendingChange? PendingChange { get; init; }

Property Value

AccountBakerPendingChange

RestakeEarnings

public bool RestakeEarnings { get; init; }

Property Value

bool

StakedAmount

public CcdAmount StakedAmount { get; init; }

Property Value

CcdAmount

Methods

GetStakedAmount()

Get the amount of CCD being staked.

public CcdAmount GetStakedAmount()

Returns

CcdAmount