API reference
Submit a swap
Submit a signed quote. The trade settles in seconds; track it with the returned id.
POST
https://api.gum.ag/app/v1/swapBody
| Field | Required | Description |
|---|---|---|
transaction | Yes | The quote’s transaction, unchanged. |
signature | Yes | Your signature of the quote’s message. See Sign with your wallet. |
Response
202 with the trade’s id, status: "pending", and two URLs to track it:
statusUrl and eventsUrl (live). See Track status.
Submit each quote once. If the request times out, check
GET /v1/history/{address} before
trying again with a new quote.