From bdcb9af2f93ffd332b705aadc6b40c8d2e2b590b Mon Sep 17 00:00:00 2001 From: diwakrmatsa <21r21a3333@mlrinstitutions.ac.in> Date: Wed, 16 Jul 2025 21:27:09 +0530 Subject: [PATCH] add approval tx in createorder response --- api-reference/openapi.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/api-reference/openapi.json b/api-reference/openapi.json index dc6370c..73fc537 100644 --- a/api-reference/openapi.json +++ b/api-reference/openapi.json @@ -641,13 +641,18 @@ "order_id": { "type": "string" }, - "transaction": { + "initiate_transaction": { "$ref": "#/components/schemas/EVMTransaction" }, + "approval_transaction": { + "$ref": "#/components/schemas/EVMTransaction", + "nullable": true, + "description": "Can be null if no approval is needed." + }, "typed_data": { "$ref": "#/components/schemas/EVMTypedData" } - } + } }, "StarknetTransaction": { "type": "object",