Market Maker
Any market maker willing to register with Dfyn Exchange RFQ module, needs to expose an endpoint that has the following structure:
Get Quote
Get a quote from the market maker for the base token
GET
https://api.marketmaker.com/v1/getQuote
This endpoint should return a calldata that includes the quote price and the signature. As a market maker, you need to call Dfyn's RFQ contract to fetch the nonce. Nonce has to be included in the signed data.
Note: The deadline should be in seconds.
Query Parameters
Example API Server
You can fork the following GitHub repo to create your own API server: https://github.com/dfyn/rfq-api. For access, please contact us on Telegram.
Last updated