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

getPendingQuotes

Read a PartyA’s resting LIMIT orders as full Quote structs. A pending quote is one that has not opened yet — in practice a limit order waiting to fill, since a market order never rests here. It reads the pending ids with getPartyAPendingQuotes, then hydrates each with getQuote bundled into multicalls of batchSize (default 10) — one round-trip per batch instead of one per id.

import { getPendingQuotes } from "@symmio/trading-core"; const limitOrders = await getPendingQuotes(config, { partyA: "0xsub…" });

Parameters

partyAAddressrequired

The partyA (subaccount, majors / cross-margin) whose limit orders to read.

batchSizenumberoptional

getQuote reads per multicall batch. Defaults to 10.

chainIdnumberoptional

Optional chain override.

Returns

Quote[]
The hydrated resting limit orders, empty when the partyA has none.

Query options

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