From cd2d14a3bf41fa10197b162f3bce4b6947ffb110 Mon Sep 17 00:00:00 2001 From: boufni95 Date: Mon, 12 Jan 2026 16:03:42 +0000 Subject: [PATCH] missing method def --- src/services/serverMethods/index.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/services/serverMethods/index.ts b/src/services/serverMethods/index.ts index 3d92076e..85fb7cf9 100644 --- a/src/services/serverMethods/index.ts +++ b/src/services/serverMethods/index.ts @@ -98,6 +98,14 @@ export default (mainHandler: Main): Types.ServerMethods => { if (err != null) throw new Error(err.message) return mainHandler.adminManager.GetAdminTransactionSwapQuote(req) }, + PayAdminTransactionSwap: async ({ ctx, req }) => { + const err = Types.TransactionSwapQuoteRequestValidate(req, { + address_CustomCheck: addr => addr !== '', + swap_operation_id_CustomCheck: id => id !== '', + }) + if (err != null) throw new Error(err.message) + return mainHandler.adminManager.PayAdminTransactionSwap(req) + }, GetProvidersDisruption: async () => { return mainHandler.metricsManager.GetProvidersDisruption() },