Submit an RFQ

RFQ works when a buyer invites sellers to bid on specific amount of an asset. The buyer then uses these bids to determine the best available price and service level. The sellers use automated, programmatic response software to quote at their fair value price.

Step 1: Request for quote

To initiate a swap, first determine if the DEX has the necessary allowance to access the tokens.

API URL: https://api.expand.network/dex/createorder


Sample Request:

{
    "dexId": "1900",
    "amountIn": "100000",
    "path": [
        "0xe0C9275E44Ea80eF17579d33c55136b7DA269aEb",
        "0xdFCeA9088c8A88A76FF74892C1457C17dfeef9C1"
    ],
    "to": "0xa67E9B68c41b0f26184D64C26e0b2B81466E5994",
    "from": "0xa67E9B68c41b0f26184D64C26e0b2B81466E5994",
    "decayStartTime": "1707110948",
    "decayEndTime": "1707113948",
    "amountOutMin": "10000000000",
    "deadline": "1707313948"
}

Sample Response:

Step 2: Generate the signature off-chain

This is an off-chain process that the user needs to perform at their end.


Sample Request:

Expand.network will soon support publishing orders on Uniswap X.

Step 3: Execute the transaction

This can be done using the following API endpoint:

API URL: https://api.expand.network/dex/swap


Sample Request:


Sample Response:

Last updated