Sending the Quote
Quote messages should be sent on the same WebSocket connection that received the RFQ. The rfqTQuote
message should be sent within 750ms of receiving the rfqT
message.
The quote messages are of the following type:
In short, the maker picks a liquidity source (pool
), fills in the missing amount as described in the sections above, and signs the quote.
Every trade happens through a UpshotPool contract (populated in the pool
field). The pool contract can store the funds used for market making.
The signature field proves to the UpshotPool smart contract that the information provided is correct. It should be provided using the Private Key of the signer used to deploy the pool.
You can see the code example
Last updated