- findSeatPrice(validators, maxNumberOfSeats, minimumStakeRatio, protocolVersion?): bigint
Parameters
- validators: (CurrentEpochValidatorInfo | NextEpochValidatorInfo)[]
- maxNumberOfSeats: number
- minimumStakeRatio: number[]
Optional
protocolVersion: number
Returns bigint
Finds seat price given validators stakes and number of seats. Calculation follow the spec: https://nomicon.io/Economics/README.html#validator-selection