getPartyAPendingQuotes
Read the ids of the quotes still in the pending stages for a PartyA. Pair the ids with getQuote to read each struct.
import { getPartyAPendingQuotes } from "@symmio/trading-core";
const pendingIds = await getPartyAPendingQuotes(config, { partyA });Parameters
partyAAddressrequiredThe partyA (virtual account, lowcap) whose pending quote ids to read.
chainIdnumberoptionalOptional chain override.
Returns
readonly bigint[]The pending quote ids.
Query options
import { getPartyAPendingQuotesQueryOptions } from "@symmio/trading-core";
import { useQuery } from "@tanstack/react-query";
useQuery(getPartyAPendingQuotesQueryOptions(config, { partyA }));Last updated on