Optional
apyUsed for APY metric computation. It will take 3 epochs back if not specified.
Use epochsLength
instead
Optional
epochIf not true
, StakePool.rewardHistory
is undefined
.
Optional
epochsControls the StakePool.rewardHistory
and StakePoolMetrics.lastRos
properties of the response.
If undefined
, StakePool.rewardHistory
contains last LAST_ROS_EPOCHS
elements and
StakePoolMetrics.lastRos
is the ROS in LAST_ROS_EPOCHS
epochs of the stake pool; otherwise
StakePool.rewardHistory
contains the requested history and StakePoolMetrics.ros
is
the ROS in the requested time interval.
Optional
filtersWill fetch all stake pools if not specified.
Optional
_condition?: FilterConditionDefaults to 'and'
.
Optional
identifier?: MultipleChoiceSearchFilter<Partial<Pick<Cardano.PoolParameters, "id"> & Pick<Cardano.StakePoolMetadata, "name" | "ticker">>>Will return results for partial matches.
Optional
pledgeIf provided, returns all the pools which live stake meets / do not meets the pledge.
Optional
status?: Cardano.StakePoolStatus[]If provided, returns all the pools in any of the given status.
Optional
text?: stringFuzzy search on text metadata fields. Ignored if shorter than 3 characters. If provided and valid, identifier
is ignored.
Optional
fuzzyOverrides default fuzzy options. Ignored in live environments.
Optional
distance?: numberDetermines how close the match must be to the location.
Optional
fieldDetermines how much the field length affects scoring.
Optional
ignoreWhen true
, the calculation for the relevance score will ignore fieldNormWeight
.
Optional
ignoreWhen true
, search will ignore location
and distance
.
Optional
location?: numberDetermines approximately where in the text is the pattern expected to be found.
Optional
minOnly the matches whose length exceeds this value will be returned.
Optional
threshold?: numberMaximum threshold. 0
: exact match; 1
: match everything.
Optional
useWhen true
, it enables the use of unix-like search commands.
Optional
weights?: { description?: number | undefined; homepage?: number | undefined; name?: number | undefined; poolId?: number | undefined; ticker?: number | undefined; }Weights of metadata fields. Free positive values: they will be normalized internally.
The configuration for paged result.
Optional
sortWill return all stake pools sorted by name ascending if not specified.
Generated using TypeDoc
The StakePoolProvider.queryStakePools call arguments.