- Preparing search index...
- The search index is not available
cardano-sdk
Properties
Private
#logger
#logger: Logger
Methods
buildPoolsByIdentifierQuery
- buildPoolsByIdentifierQuery(identifier: MultipleChoiceSearchFilter<Partial<Pick<PoolParameters, "id"> & Pick<StakePoolMetadata, "ticker" | "name">>>): {
id: {
isPrimary: boolean;
name: string;
};
params: string[];
query: string;
}
-
Returns {
id: {
isPrimary: boolean;
name: string;
};
params: string[];
query: string;
}
-
id: {
isPrimary: boolean;
name: string;
}
-
isPrimary: boolean
-
name: string
-
params: string[]
-
query: string
buildPoolsByPledgeMetQuery
- buildPoolsByPledgeMetQuery(pledgeMet: boolean): SubQuery[]
-
buildPoolsByStatusQuery
- buildPoolsByStatusQuery(status: StakePoolStatus[]): {
id: {
isPrimary: boolean;
name: string;
};
query: string;
}
-
Returns {
id: {
isPrimary: boolean;
name: string;
};
query: string;
}
-
id: {
isPrimary: boolean;
name: string;
}
-
isPrimary: boolean
-
name: string
-
query: string
getLastEpoch
- getLastEpoch(): Promise<number>
-
Returns Promise<number>
getLastEpochWithData
- getLastEpochWithData(): Promise<Epoch>
-
Returns Promise<Epoch>
queryPoolAPY
- queryPoolAPY(hashesIds: number[], epochLength: number, options?: Partial<QueryStakePoolsArgs>): Promise<PoolAPY[]>
-
Parameters
-
hashesIds: number[]
-
epochLength: number
-
Returns Promise<PoolAPY[]>
queryPoolData
- queryPoolData(updatesIds: number[], useBlockfrost: boolean, options?: QueryStakePoolsArgs): Promise<PoolData[]>
-
Parameters
-
updatesIds: number[]
-
useBlockfrost: boolean
-
Returns Promise<PoolData[]>
queryPoolHashes
- queryPoolHashes(query: string, params?: any[]): Promise<PoolUpdate[]>
-
Parameters
-
query: string
-
params: any[] = []
queryPoolMetrics
- queryPoolMetrics(hashesIds: number[], totalStake: null | string, useBlockfrost: boolean, options?: QueryStakePoolsArgs): Promise<PoolMetrics[]>
-
Parameters
-
hashesIds: number[]
-
totalStake: null | string
-
useBlockfrost: boolean
-