execute_quote
Accept and execute an RFQ quote using its quote ID and matching legs, with EIP-712 signing handled automatically so you get the quoted price.
Instructions
Accept and execute an RFQ quote. Completes the RFQ flow: send_rfq → get_quotes → execute_quote. Each leg needs EIP-712 signing, which is handled automatically. The quote_id ties the execution to the MM's quote, ensuring you get the quoted price.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"quote_id": "<quote_id>",
"legs": "<legs>"
},
"name": "execute_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| legs | Yes | Legs to execute — must match the original RFQ legs. Prices come from the quote response. | |
| label | No | Optional label for the resulting trades | |
| quote_id | Yes | Quote ID to accept (from get_quotes) | |
| subaccount_id | No |