Skip to content
Snippets Groups Projects
Commit 46f67b07 authored by Mahdi Yari's avatar Mahdi Yari
Browse files

Update README.md

parent d07af993
No related branches found
No related tags found
1 merge request!17update readme
...@@ -1638,6 +1638,7 @@ var options = { ...@@ -1638,6 +1638,7 @@ var options = {
hive.api.broadcastBlockWith(options, function(err, data) { hive.api.broadcastBlockWith(options, function(err, data) {
console.log(err, data); console.log(err, data);
}); });
```
### Broadcast Transaction Synchronous ### Broadcast Transaction Synchronous
```js ```js
...@@ -1655,19 +1656,19 @@ hive.api.broadcastBlock(b, function(err, result) { ...@@ -1655,19 +1656,19 @@ hive.api.broadcastBlock(b, function(err, result) {
# Broadcast # Broadcast
### Account Create ### Account Create
``` ```js
hive.broadcast.accountCreate(wif, fee, creator, newAccountName, owner, active, posting, memoKey, jsonMetadata, function(err, result) { hive.broadcast.accountCreate(wif, fee, creator, newAccountName, owner, active, posting, memoKey, jsonMetadata, function(err, result) {
console.log(err, result); console.log(err, result);
}); });
``` ```
### Account Create With Delegation ### Account Create With Delegation
``` ```js
hive.broadcast.accountCreateWithDelegation(wif, fee, delegation, creator, newAccountName, owner, active, posting, memoKey, jsonMetadata, extensions, function(err, result) { hive.broadcast.accountCreateWithDelegation(wif, fee, delegation, creator, newAccountName, owner, active, posting, memoKey, jsonMetadata, extensions, function(err, result) {
console.log(err, result); console.log(err, result);
}); });
``` ```
### Delegate Vesting Shares ### Delegate Vesting Shares
``` ```js
hive.broadcast.delegateVestingShares(wif, delegator, delegatee, vesting_shares, function(err, result) { hive.broadcast.delegateVestingShares(wif, delegator, delegatee, vesting_shares, function(err, result) {
console.log(err, result); console.log(err, result);
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment