Skip to Content
Symmio Trading-SDK — the SDK surface for builders on Arbitrum
CoreSYMMIO ContractgetCoolDownsOfMA

getCoolDownsOfMA

Read the protocol cooldown periods (coolDownsOfMA) as a 4-tuple of seconds:

[withdrawCooldownPeriod, forceCancelCooldown, forceCancelCloseCooldown, forceCloseFirstCooldown];

Index 1 is the force-cancel cooldown — the delay after a quote enters CANCEL_PENDING before forceCancelQuote becomes eligible. These values rarely change, so a long staleTime is appropriate at the call site.

import { getCoolDownsOfMA } from "@symmio/trading-core"; const coolDowns = await getCoolDownsOfMA(config); const forceCancelCooldown = coolDowns[1]; // seconds

Parameters

chainIdnumberoptional

Optional chain override.

Returns

readonly [bigint, bigint, bigint, bigint]

The four cooldown periods in seconds: (withdrawCooldownPeriod, forceCancelCooldown, forceCancelCloseCooldown, forceCloseFirstCooldown). Index 1 (forceCancelCooldown) gates forceCancelQuote.

Query options

import { getCoolDownsOfMAQueryOptions } from "@symmio/trading-core"; import { useQuery } from "@tanstack/react-query"; useQuery(getCoolDownsOfMAQueryOptions(config));
Last updated on