PoolParams
@harmoniclabs/cardano-ledger-ts • Docs
@harmoniclabs/cardano-ledger-ts / PoolParams
Class: PoolParams
Implements
Constructors
new PoolParams()
new PoolParams(
params):PoolParams
Parameters
• params: IPoolParams
Returns
Defined in
Properties
cost
readonlycost:bigint
Implementation of
Defined in
margin
readonlymargin:CborPositiveRational
Implementation of
Defined in
metadata?
readonlyoptionalmetadata:ITypedPoolParamsMetadata
Implementation of
Defined in
operator
readonlyoperator:PoolKeyHash
Implementation of
Defined in
owners
readonlyowners:PubKeyHash[]
Implementation of
Defined in
pledge
readonlypledge:bigint
Implementation of
Defined in
relays
readonlyrelays:PoolRelay[]
Implementation of
Defined in
rewardAccount
readonlyrewardAccount:StakeAddress<StakeAddressType>
Implementation of
ITypedPoolParams.rewardAccount
Defined in
vrfKeyHash
readonlyvrfKeyHash:VRFKeyHash
Implementation of
Defined in
Methods
toCborObjArray()
toCborObjArray():
CborObj[]
Returns
CborObj[]
Defined in
toJson()
toJson():
object
Returns
object
cost
cost:
string
margin
margin:
number
metadata
metadata:
undefined|object
operator
operator:
string
owners
owners:
string[]
pledge
pledge:
string
relays
relays: (
object|object|object)[]
rewardAccount
rewardAccount:
StakeAddress<StakeAddressType>
vrfKeyHash
vrfKeyHash:
string
Defined in
fromCborObjArray()
staticfromCborObjArray(__namedParameters):PoolParams
Parameters
• __namedParameters: CborObj[]