Skip to content

@ecp.eth/sdk


@ecp.eth/sdk / indexer / indexerApiRetryCondition

Function: indexerApiRetryCondition()

function indexerApiRetryCondition(error): boolean;

Defined in: packages/sdk/src/indexer/utils.ts:54

Determine if a fetch error from the indexer API should be retried

Parameters

error

unknown

The error to check

Returns

boolean

True if the error should be retried, false otherwise