Build an unsigned swap transaction
build_swap_txConvert a swap quote ID into unsigned transaction data for the user's wallet to sign and submit. Build promptly after quoting, as quotes expire.
Instructions
Turn a quoteId from get_quote into transaction data for the swap. Returns an UNSIGNED transaction: this server never holds keys, never signs and never broadcasts. The calling agent (or the user's wallet) signs and submits it. Quotes expire, so build shortly after quoting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quoteId | Yes | quoteId from a get_quote result | |
| userAddress | Yes | Sender address the transaction is built for |