From ee354842bf3b1b3987631a0acbd81775e571f8c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Kihlberg?= Date: Wed, 18 Oct 2023 12:55:59 +0200 Subject: [PATCH] finalize implementation --- packages/runtime/client/rest/src/index.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/runtime/client/rest/src/index.ts b/packages/runtime/client/rest/src/index.ts index 7524b8f2..7ed00fab 100644 --- a/packages/runtime/client/rest/src/index.ts +++ b/packages/runtime/client/rest/src/index.ts @@ -206,7 +206,13 @@ export function mkRestClient(baseURL: string): RestAPI { postTransactionsRequest, addressesAndCollaterals ) { - return Promise.reject(); + return unsafeTaskEither( + Transactions.postViaAxios(axiosInstance)( + contractId, + postTransactionsRequest, + addressesAndCollaterals + ) + ); }, healthcheck: () => pipe(