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 = {
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);
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment