Skip to content

API ReferenceVaults, collateral, and riskFunction

getCreditedTokens()

function getCreditedTokens(
ctx,
params?,
subgraphUrl,
options?
): Promise<CollectionPage<CreditedToken>>;

Lists dynamic-LOC credited tokens as SDK-owned models.

Parameters

ParameterTypeDescription
ctxSDKContextThe SDK context.
paramsGetCreditedTokensParamsPaging and credited-token filters.
subgraphUrlstringThe URL of the subgraph endpoint.
optionsReadExecutionOptionsCancellation controls kept separate from collection filters.

Returns

Promise<CollectionPage<CreditedToken>>