Skip to content

API ReferenceValidationFunction

checkExpirationBounds()

function checkExpirationBounds(ctx, params): Promise<ValidationIssue[]>;

Checks whether an expiration timestamp falls within the protocol’s allowed range (between minLOCDate and maxLOCDate).

Requires RPC calls to read min/max dates from the contract.

Parameters

ParameterType
ctxSDKContext
paramsExpirationCheckParams

Returns

Promise<ValidationIssue[]>