diff --git a/internal/handler/swap/swap.go b/internal/handler/swap/swap.go index b82a195..5154d85 100644 --- a/internal/handler/swap/swap.go +++ b/internal/handler/swap/swap.go @@ -107,7 +107,11 @@ func (h *handler) GenerateSignature(c *gin.Context) { return } - c.JSON(http.StatusOK, view.CreateResponse[any](signature, nil, nil, "signature generated successfully")) + c.JSON(http.StatusOK, view.CreateResponse[any](map[string]interface{}{ + "signature": signature, + "nonce": nonce, + "deadline": deadline, + }, nil, nil, "signature generated successfully")) } // TriggerSwap godoc