Quote an RFQ
respond_to_rfqSubmit a total quote-asset amount to an open RFQ to open a private deal thread; returns a threadId for negotiation and deal-status checks.
Instructions
Respond to an open RFQ with your price. Opens a private deal thread with the creator; returns the threadId for negotiate/deal_status. price = TOTAL quote-asset amount for the whole base amount (not per-unit). Your quote is your acceptance of that price (as the initiator, this tool accepts it for you with your hashlock): when the creator accepts it, the deal is agreed.
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": {
"rfq_id": "<rfq_id>",
"price": "<price>"
},
"name": "respond_to_rfq"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | Yes | Total quote-asset amount, human decimal, at most 8 decimals of its asset (fewer if the asset has fewer); the API refuses more | |
| rfq_id | Yes | Request id (rfqId) from list_open_rfqs, my_rfqs, create_rfq or a share link |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Set instead when the call failed | |
| agreed | No | ||
| status | No | ||
| swapId | No | Set once agreed | |
| threadId | No | Deal thread id | |
| next_step | No | ||
| next_steps | No | ||
| waiting_for | No | ||
| youAccepted | No | This side accepted currentPrice | |
| currentPrice | No | Total price on the table | |
| pendingPrice | No | Counter awaiting acceptance | |
| accept_failed | No |