Skip to content

@lelantos-org/sdk / services / quoteAgeSecs

Function: quoteAgeSecs() ​

ts
function quoteAgeSecs(q, nowSecs?): number;

Defined in: @lelantos-org/sdk/dist/services/quoter/client.d.ts:70

Quote age in seconds. Callers choose their own staleness threshold.

Parameters ​

ParameterType
qSwapRouteQuote
nowSecs?number

Returns ​

number