GUM Docs
Open GUM

API reference

Swap status

A trade's status by id, polled or streamed live.

GEThttps://api.gum.ag/app/v1/swap/{id}

Try it

Path parameters

ParameterRequiredDescription
idYesThe id from POST /v1/swap.

Response

An Activity. Poll until final is true.

Live updates

GET /v1/swap/{id}/events streams the same object as server-sent events. The first message is the current status and the stream closes after the final one. See Track status.

If a trade can’t fill before its quote’s window closes, it reads failed and GUM refunds it automatically; it then reads refunded.