Skip to main content

RFQ V2 Maker FAQ

Questions quote providers ask when they wire up RFQ V2. Each answer describes how the API behaves. For a working bot end to end, follow Build an RFQ V2 Maker.

Hosts. Production is https://api.hypercall.xyz and wss://api.hypercall.xyz/ws. Testnet, when it is running, is https://api.testnet.hypercall.xyz and wss://api.testnet.hypercall.xyz/ws. No other host serves the API.

Fills and attribution​

Do my RFQ fills show up on fills and GET /fills? Yes. Every execution against your quote books one fill per leg to your maker_account, and you get each leg on the fills WebSocket channel and in GET /fills for that account, with is_taker: false. The same applies to every allocation of a sweep that used your quote.

Which field ties a fill to rfq_id, quote_id, or execution_id? Those three fields themselves. Every RFQ V2 leg fill carries rfq_id, quote_id, and execution_id, on the fills WebSocket message and on GET /fills rows, for both the maker and the taker. They are omitted on order book fills. For an RFQ fill order_id is 0, because no order rested. trade_id is unique per leg. The WebSocket fill_id equals trade_id; the fill_id from GET /fills is a database-assigned number, so join the two on trade_id or execution_id.

Is there a maker read of executions against my quote? Yes: GET /private/rfqs/executions?after_sequence= with your read grant. It returns every execution where your account is the maker or the taker, in commit order. Each one carries execution_id, rfq_id, quote_id, package_units, and every leg's instrument, your side, size in contracts times 1,000,000, and the price you signed. Save next_after_sequence after applying a page and resume from it after a restart; each execution appears once. See Executions.

Multi-leg executions. One fill per leg per execution. A two-leg package hit twice gives you four fills.

Is execution_id the same as ComboTrade.execution_id or /experimental/fills? No. An RFQ V2 execution_id is a UUID, one per allocation. Combo execution_id values are integers from order book combo matching. RFQ V2 executions do not appear in /experimental/fills?view=packages; the default view of that route returns the same leg fills as GET /fills.

Is Fill.price the leg's price_micros in USD? Yes. price is price_micros / 1,000,000 exactly, in USD per contract, the same unit as order book fills. It can have more decimals than the order book tick, because RFQ V2 prices are not rounded to a tick.

WebSocket​

Channel name. Exactly rfq_v2. Send {"type":"AuthenticateRfqV2","token":"<grant>"}, wait for RfqV2Authenticated, then {"type":"Subscribe","channel":"rfq_v2"}. Add "view":"full" to receive each RFQ as RfqV2Rfq, with the same maker view GET /private/rfqs/{rfq_id} returns, instead of an RfqV2Changed hint. The channel takes no symbols, expiry, or option_type filters; sending one returns an error.

One connection or two? One works. Authenticate (for fills, order_updates, portfolio) and AuthenticateRfqV2 set separate identities on the same connection, and neither replaces the other. Authenticate is unsigned and binds to the account it resolves (a portfolio-margin manager wallet resolves to its Account). rfq_v2 accepts only the signed read grant.

Re-authenticating. Send a new AuthenticateRfqV2 before the current grant expires. It replaces the grant on the connection and keeps your rfq_v2 subscription, so do not subscribe again. The grant is rechecked before every message. If it lapses, the subscription stays, and the first withheld message is replaced by one Error frame with code rfq_v2_grant_expired; nothing else arrives until you authenticate again. Grants last at most 5 minutes, so sign the next one a minute or so before the current one expires. Keep polling GET /private/rfqs/changes alongside the socket to recover anything missed during a disconnect.

Identities​

maker_account, maker_signer, maker_provider.

FieldWhat it is
maker_accountThe account that takes the position and premium. It is the account Hypercall enrolled for you, and it is the maker_account you sign into every quote
maker_signerThe key that signed the quote
maker_providerThe enrolled provider wallet that routes to maker_account. For a direct provider it equals maker_account

Who may sign quotes for the account? The account itself, its on-chain manager, an active API wallet registered on the Account, or an agent approved through /approve-agent by the account. For a portfolio-margin Account, agents approved by the manager wallet also count. Quote with an API wallet registered on your Account and maker_account is the Account contract and maker_signer is the API wallet. Quote with an agent approved by a standalone wallet and maker_account is that wallet. Read grants follow the same rule.

Can my maker account hedge perps through Hypercall? Only if maker_account is a portfolio margin Account contract in HyperCore unified account mode, and the perp order is signed by an active on-chain API wallet on it. A plain wallet gets 400 unknown_account from POST /v1/actions/hl_limit_order, and an agent approved only through /approve-agent gets 400 invalid_signature. See which accounts can hedge here.

Which is preferred? Hypercall treats them the same for RFQ V2. Pick by operations: API wallets live on chain until you remove them; agents expire and are revoked through the API. Nonces are tracked per signing key either way.

Nonces​

Firm quote nonces live in their own set per signing key, apart from order nonces. The rules match orders: a millisecond timestamp within two days before and one day after server time; the set keeps the 100 most recent; once it holds 100, a new nonce must be greater than the smallest one kept.

When is the nonce checked? In two places. When you publish, Hypercall refuses a nonce outside the time window (two days before to one day after server time) with 400 rfq_v2_quote_nonce_rejected. The set rules (uniqueness and the 100-entry minimum) apply at the quote's first execution, where the nonce is consumed. Publishing, retrying a publish, or having the quote sit unfilled consumes nothing. Later partial fills of the same quote reuse the nonce.

Out-of-order arrival. Arrival order at publish does not matter. What matters is the order in which quotes are first filled. A quote can be refused at execution, with 409 rfq_v2_authority_rejected, in two cases:

  • Another quote from the same key with the same nonce was already filled. Give every quote its own nonce.
  • More than 100 quotes from the same key with higher nonces were first filled before it, inside two days. A key quoting more than that in parallel should use more than one signer.

Deadlines​

How long do I have to quote? The taker sets quote_deadline_ms and expires_at_ms and signs both. Hypercall requires only that the quote deadline is in the future at creation and before expires_at_ms; there is no minimum or maximum gap. Read both from the RFQ and budget against them. Your firm quote must arrive before quote_deadline_ms, and its own expires_at_ms can be at most the RFQ's.

Price precision​

Is there a tick on price_micros? No. Any whole number of micro-USD per contract up to 2^96 - 1 is accepted, and the order book tick_size does not apply.

What must be exact. The reference premium. Sum price_micros * quantity_micros_per_unit * reference_quantity over the legs, adding legs the taker buys and subtracting legs it sells. The result must divide by 10^12, and for one_smaller_package and repeated_partial the same sum at one step must also divide by 10^12. With one contract per package and whole-package steps, any price passes. With fractional quantities or sub-package steps, choose leg prices that make both sums whole. Leg prices are the only lever: the reference premium is derived from them and is never chosen separately.

Quote fences​

What changes maker_generation and rfq_generation? Only three things:

  • A bulk withdrawal with scope all_open raises maker_generation.
  • A fired cancel schedule raises maker_generation. Renewing or clearing a schedule whose deadline already passed fires it first.
  • A bulk withdrawal with scope rfq raises rfq_generation for that RFQ.

Withdrawing quotes by ID, RFQ replacement, fills, and expiry do not. A replaced RFQ has a new rfq_id and a new terms commitment, so quotes on the old one cannot carry over anyway; read the new RFQ for its fence values. Both values belong to the account, not the signing key, so a withdrawal signed by any of your keys fences quotes from all of them. Quotes signed not_permitted ignore fences.

Eligibility​

Who can quote? Any funded account, for RFQs whose taker names it in selected_makers. Funded means positive USDC collateral: engine cash for a Standard account, or HyperCore account value plus engine cash for a portfolio-margin account, so a PM maker stays eligible after a fill moves its premium. RFQs sent to every eligible maker (all_eligible) reach enrolled quote providers only.

What makes me a quote provider? Hypercall enrolls a provider wallet, optionally mapped to a separate trading account, with a status and an optional list of allowed underlyings. There is no self-service enrollment; ask your Hypercall contact. An enrolled, active provider is eligible for all_eligible RFQs whose legs are all on its allowed underlyings. Enrollment is per account. Every key that may sign for the account can quote for it; keys are not enrolled. Read your own enrollment and eligibility with GET /private/rfq-provider.

Routing is fixed at creation. The maker set is chosen when the RFQ is created, so a change to your enrollment applies to later RFQs only. You can read and quote only RFQs routed to you.

Which instruments accept RFQs? GET /instruments?currency=BTC returns rfq: true for instruments open to RFQ. An RFQ leg must be on an active, unexpired instrument with rfq: true. GET /instrument-specs carries the same rfq flag on each spec.

Declines​

Is silence a decline? For the taker, nearly: both leave the taker without your quote. The difference is visibility. A signed decline appears in the taker's declined_makers and lets it stop waiting; silence shows only as a missing quote at the deadline. Hypercall has no response obligation for makers today and does not penalize silence. Send a decline when you know you will pass; it lets the taker stop waiting.

Can I decline after quoting? Not while the quote is executable. A decline returns 409 rfq_v2_decline_with_live_quote until you withdraw the quote, by ID or with a bulk withdrawal scoped to the RFQ; then the decline goes through. The reverse holds too: once you decline an RFQ, a firm quote on it returns 409 rfq_v2_maker_declined. A taker never sees you in declined_makers while it can still fill your quote.

Routing filters​

Can I limit what I am routed? Only by underlying, through the allowed-underlyings list on your enrollment, which Hypercall sets. There is no self-service filter by underlying, instrument, expiry, or size, and the rfq_v2 channel takes no filters. Decline or ignore RFQs you do not want.

Limits​

Request rate. 6,000 requests per minute per source IP across every RFQ V2 HTTP route: reads, the change feed, quote publication, withdrawals, and the cancel schedule all share it. All RFQ V2 traffic also shares a 60,000 per minute ceiling. There is no per-account or per-signer limit. See Rate Limits.

Open firm quotes. No limit on how many firm quotes a maker can have open, and no notional cap at quote time. Margin is checked at each execution, not reserved when you quote, so size your own limits.

Does MMP apply to RFQ? No. RFQ fills do not count toward your order book MMP limits, so MMP will not freeze you after a run of RFQ executions. Manage RFQ exposure with your own limits, quote withdrawals, and the cancel schedule.