Table of Contents

Class BlockReward

Namespace
Concordium.Sdk.Types
Assembly
Concordium.Sdk.dll

Reward for including transactions in a block.

public sealed record BlockReward : ISpecialEvent, IEquatable<BlockReward>
Inheritance
BlockReward
Implements
Inherited Members

Constructors

BlockReward(CcdAmount, CcdAmount, CcdAmount, CcdAmount, CcdAmount, AccountAddress, AccountAddress)

Reward for including transactions in a block.

public BlockReward(CcdAmount TransactionFees, CcdAmount OldGasAccount, CcdAmount NewGasAccount, CcdAmount BakerReward, CcdAmount FoundationCharge, AccountAddress Baker, AccountAddress FoundationAccount)

Parameters

TransactionFees CcdAmount

Total amount of transaction fees in the block.

OldGasAccount CcdAmount

Previous balance of the GAS account.

NewGasAccount CcdAmount

New balance of the GAS account.

BakerReward CcdAmount

The amount of CCD that goes to the baker.

FoundationCharge CcdAmount

The amount of CCD that goes to the foundation.

Baker AccountAddress

The account address where the baker receives the reward.

FoundationAccount AccountAddress

The account address where the foundation receives the tax.

Properties

Baker

The account address where the baker receives the reward.

public AccountAddress Baker { get; init; }

Property Value

AccountAddress

BakerReward

The amount of CCD that goes to the baker.

public CcdAmount BakerReward { get; init; }

Property Value

CcdAmount

FoundationAccount

The account address where the foundation receives the tax.

public AccountAddress FoundationAccount { get; init; }

Property Value

AccountAddress

FoundationCharge

The amount of CCD that goes to the foundation.

public CcdAmount FoundationCharge { get; init; }

Property Value

CcdAmount

NewGasAccount

New balance of the GAS account.

public CcdAmount NewGasAccount { get; init; }

Property Value

CcdAmount

OldGasAccount

Previous balance of the GAS account.

public CcdAmount OldGasAccount { get; init; }

Property Value

CcdAmount

TransactionFees

Total amount of transaction fees in the block.

public CcdAmount TransactionFees { get; init; }

Property Value

CcdAmount