From 46f67b0775a69056d93191855a989c2c36635db1 Mon Sep 17 00:00:00 2001 From: Mahdi Yari <m.yary16@gmail.com> Date: Tue, 3 Nov 2020 19:25:01 +0330 Subject: [PATCH] Update README.md --- doc/README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/README.md b/doc/README.md index 0758d37..5172b4c 100644 --- a/doc/README.md +++ b/doc/README.md @@ -1638,6 +1638,7 @@ var options = { hive.api.broadcastBlockWith(options, function(err, data) { console.log(err, data); }); +``` ### Broadcast Transaction Synchronous ```js @@ -1655,19 +1656,19 @@ hive.api.broadcastBlock(b, function(err, result) { # Broadcast ### Account Create -``` +```js hive.broadcast.accountCreate(wif, fee, creator, newAccountName, owner, active, posting, memoKey, jsonMetadata, function(err, result) { console.log(err, result); }); ``` ### Account Create With Delegation -``` +```js hive.broadcast.accountCreateWithDelegation(wif, fee, delegation, creator, newAccountName, owner, active, posting, memoKey, jsonMetadata, extensions, function(err, result) { console.log(err, result); }); ``` ### Delegate Vesting Shares -``` +```js hive.broadcast.delegateVestingShares(wif, delegator, delegatee, vesting_shares, function(err, result) { console.log(err, result); }); -- GitLab