build_swap
Generate an unsigned transaction group from a quote ID to execute a swap with your own wallet.
Instructions
Unsigned transaction group for a get_quote quote_id. Sign every txn with your own wallet and submit as one group. NEVER pass mnemonics or private keys to any tool — signing happens in YOUR wallet tooling, never on this server.
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>",
"user_address": "<user_address>"
},
"name": "build_swap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | hsk_ API key override; omit to use the HOGSWAP_API_KEY env config | |
| quote_id | Yes | ||
| user_address | Yes |