From 09cc37bbaffae095d972803187348208c07792af Mon Sep 17 00:00:00 2001 From: rabm2k7 Date: Thu, 11 Jul 2024 10:54:46 +0100 Subject: [PATCH] Add send BoC return hash method to provider --- src/providers/index.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/providers/index.js b/src/providers/index.js index d8a6c27..0a10c75 100644 --- a/src/providers/index.js +++ b/src/providers/index.js @@ -106,6 +106,15 @@ class HttpProvider { return this.send("sendBoc", {'boc': base64}); }; + /** + * Use this method to send serialized boc file: fully packed and serialized external message. + * @param base64 {string} base64 of boc bytes Cell.toBoc + * @return Object containing result, error, code + */ + async sendBocReturnHash(base64) { + return this.send("sendBocReturnHash", {'boc': base64}); + }; + /** * @deprecated * Send external message