Skip to content
This repository has been archived by the owner on Jun 7, 2019. It is now read-only.

Commit

Permalink
🌱 Add broadcastTransaction API method
Browse files Browse the repository at this point in the history
  • Loading branch information
willclarktech committed Jan 8, 2018
1 parent e1442d2 commit e4e6b1b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/api/liskApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,10 @@ export default class LiskAPI {
.then(utils.optionallyCallCallback.bind(null, callback));
}

broadcastTransaction(transaction, callback) {
return this.broadcastTransactions([transaction], callback);
}

broadcastSignatures(signatures, callback) {
return privateApi.sendRequestPromise
.call(this, POST, 'signatures', { signatures })
Expand Down

0 comments on commit e4e6b1b

Please sign in to comment.