ADAEpochParametersResponse class
Constructors
-
ADAEpochParametersResponse({required int epoch, required int minFeeA, required int minFeeB, required int maxBlockSize, required int maxTxSize, required int maxBlockHeaderSize, required BigInt keyDeposit, required BigInt poolDeposit, required int eMax, required int nOpt, required double a0, required double rho, required double tau, required int decentralisationParam, required int protocolMajorVer, required int protocolMinorVer, required String minUtxo, required String minPoolCost, required String nonce, required int coinsPerUtxoSize, String? extraEntropy, required Map<
String, dynamic> costModels}) -
ADAEpochParametersResponse.fromJson(Map<
String, dynamic> json) -
factory
Properties
- a0 → double
-
Pool pledge influence
final
- coinsPerUtxoSize → int
-
final
-
costModels
→ Map<
String, dynamic> -
Cost models
final
- decentralisationParam → int
-
Percentage of blocks produced by federated nodes
final
- eMax → int
-
Epoch bound on pool retirement
final
- epoch → int
-
Epoch number
final
- extraEntropy → String?
-
Seed for extra entropy
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- keyDeposit → BigInt
-
The amount of a key registration deposit in Lovelaces
final
- maxBlockHeaderSize → int
-
Maximum block header size
final
- maxBlockSize → int
-
Maximum block body size in Bytes
final
- maxTxSize → int
-
Maximum transaction size
final
- minFeeA → int
-
The linear factor for the minimum fee calculation for given epoch
final
- minFeeB → int
-
The constant factor for the minimum fee calculation
final
- minPoolCost → String
-
Minimum stake cost forced on the pool
final
- minUtxo → String
-
Minimum UTXO value
final
- nonce → String
-
Epoch number only used once
final
- nOpt → int
-
Desired number of pools
final
- poolDeposit → BigInt
-
The amount of a pool registration deposit in Lovelaces
final
- protocolMajorVer → int
-
Accepted protocol major version
final
- protocolMinorVer → int
-
Accepted protocol minor version
final
- rho → double
-
Monetary expansion
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tau → double
-
Treasury expansion
final
Methods
-
calculateFee(
int size) → BigInt - Fees are constructed around two constants (a and b). The formula for calculating minimal fees for a transaction (tx) is a * size(tx) + b, where: a/b are protocol parameters size(tx) is the transaction size in bytes https://docs.cardano.org/explore-cardano/fee-structure/#:~:text=Fees%20are%20constructed%20around%20two,the%20transaction%20size%20in%20bytes
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited