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
readonly
cost:bigint
Implementation of
Defined in
margin
readonly
margin:CborPositiveRational
Implementation of
Defined in
metadata?
readonly
optional
metadata:ITypedPoolParamsMetadata
Implementation of
Defined in
operator
readonly
operator:PoolKeyHash
Implementation of
Defined in
owners
readonly
owners:PubKeyHash
[]
Implementation of
Defined in
pledge
readonly
pledge:bigint
Implementation of
Defined in
relays
readonly
relays:PoolRelay
[]
Implementation of
Defined in
rewardAccount
readonly
rewardAccount:StakeAddress
<StakeAddressType
>
Implementation of
ITypedPoolParams
.rewardAccount
Defined in
vrfKeyHash
readonly
vrfKeyHash: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()
static
fromCborObjArray(__namedParameters
):PoolParams
Parameters
• __namedParameters: CborObj
[]