Skip to content

Commit

Permalink
Add send BoC return hash method to provider
Browse files Browse the repository at this point in the history
  • Loading branch information
rabm2k7 committed Jul 11, 2024
1 parent 76dfd07 commit 09cc37b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/providers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 09cc37b

Please sign in to comment.