Overview

What Rave Trading is, how a trade works end to end, and where to go next.

Rave Trading is a principal market maker (PMM) with a request-for-quote (RFQ) API for tokenized assets, focused first on tokenized stocks. You ask for a price on a token pair on one chain, and Rave answers with a quote. A firm quote comes with a signed transaction that your user's wallet submits on chain.

How a trade works

StepYou callYou get
1. DiscoverGET /v2/markets/levelsThe pairs that are quotable right now, with token addresses, decimals and depth
2. Check limitsGET /v2/limitsPer-side status, min and max size, and the address to approve (allowance_target)
3. PreviewPOST /v2/quotes/softAn indicative price. Not executable
4. Approvetoken_in.approve(allowance_target, amount) on chainThe router can pull the input token
5. QuotePOST /v2/quotes/firmA signed transaction packet: to, data, value, chain_id
6. SubmitThe user's wallet sends the packet unchangedOutput tokens settle to recipient
7. TrackGET /v2/transactions/{id_or_tx_hash}The settled trade record

Soft and firm quotes

Soft quoteFirm quote
PurposeShow a priceExecute a trade
Needs recipientNoYes
Has execution.transactionNoYes
Can be looked up laterNoYes, GET /v2/quotes/{quote_id}

Details are in Quotes.

Chains

Rave publishes pairs on BNB Smart Chain (56), Ethereum (1), Base (8453), Robinhood Chain (4663) and Pharos (1672). The chain set changes as markets go live, so read it from /v2/markets/levels instead of hard-coding it. Which symbol quotes on which chain, and on which side, is also live data.

Where to go next


Did this page help you?