Skip to Content
Symmio Frontier — the SDK surface for builders on HyperEVM
ReactNotional Cap hooks

Notional Cap hooks

Available-liquidity gates. Use these to prevent a trade from being submitted when the solver has no room for it.

Read only.

Import

import { useNotionalCapAll, useNotionalCapBySymbolId, useOpenInterestBySymbolId } from "@symmio/trading-react";

useNotionalCapBySymbolId

Cap for a single market.

const cap = useNotionalCapBySymbolId({ symbolId: 1n });

useNotionalCapAll

Every market’s cap in one call. Cheaper than looping the by-id variant.

const caps = useNotionalCapAll();

useOpenInterestBySymbolId

Used vs capped notional per market.

const oi = useOpenInterestBySymbolId({ symbolId: 1n });
Last updated on