Table of Contents

Class GasRewards

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

The reward fractions related to the gas account and inclusion of special transactions for chain parameters version 0 and 1.

public sealed record GasRewards : IEquatable<GasRewards>
Inheritance
GasRewards
Implements
Inherited Members

Constructors

GasRewards(AmountFraction, AmountFraction, AmountFraction, AmountFraction)

The reward fractions related to the gas account and inclusion of special transactions for chain parameters version 0 and 1.

public GasRewards(AmountFraction Baker, AmountFraction FinalizationProof, AmountFraction AccountCreation, AmountFraction ChainUpdate)

Parameters

Baker AmountFraction

Fraction of the previous gas account paid to the baker.

FinalizationProof AmountFraction

Fraction paid for including a finalization proof in a block.

AccountCreation AmountFraction

Fraction paid for including each account creation transaction in a block.

ChainUpdate AmountFraction

Fraction paid for including an update transaction in a block.

Properties

AccountCreation

Fraction paid for including each account creation transaction in a block.

public AmountFraction AccountCreation { get; init; }

Property Value

AmountFraction

Baker

Fraction of the previous gas account paid to the baker.

public AmountFraction Baker { get; init; }

Property Value

AmountFraction

ChainUpdate

Fraction paid for including an update transaction in a block.

public AmountFraction ChainUpdate { get; init; }

Property Value

AmountFraction

FinalizationProof

Fraction paid for including a finalization proof in a block.

public AmountFraction FinalizationProof { get; init; }

Property Value

AmountFraction