Trade
Create swap transaction
Create a swap transaction from a trade quote. The transaction is ready to be signed and sent.
post/trade/swap
Request
- Base URLhttps://public-api-v2.bags.fm/api/v1
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Successfully created swap transaction
Example response
{
"success": true
}Changes
No recorded changes to this operation across all 1 revision of this API.