Browse Source

fix typo

activeAddress
Ivan Socolsky 10 years ago
parent
commit
26d4d5c434
  1. 4
      README.md
  2. 2
      lib/model/notification.js
  3. 2
      lib/wsapp.js

4
README.md

@ -52,7 +52,7 @@ Optional Arguments:
* limit: Total number of records to return (return all available records if not specified).
Returns:
* History of incomming and outgoing transactions of the wallet. The list is paginated using the `skip` & `limit` params. Each item has the following fields:
* History of incoming and outgoing transactions of the wallet. The list is paginated using the `skip` & `limit` params. Each item has the following fields:
* action ('sent', 'received', 'moved')
* amount
* fees
@ -72,7 +72,7 @@ Returns:
`/v1/addresses/`: Get Wallet's main addresses (does not include change addresses)
Returns:
* List of Addresses object: (https://github.com/bitpay/bitcore-wallet-service/blob/master/lib/model/adddress.js)). This call is mainly provided so the client check this addresses for incomming transactions (using a service like [Insight](https://insight.is)
* List of Addresses object: (https://github.com/bitpay/bitcore-wallet-service/blob/master/lib/model/adddress.js)). This call is mainly provided so the client check this addresses for incoming transactions (using a service like [Insight](https://insight.is)
`/v1/balance/`: Get Wallet's balance

2
lib/model/notification.js

@ -12,7 +12,7 @@ var Uuid = require('uuid');
* txProposalFinallyRejected - txProposalId
* txProposalFinallyAccepted - txProposalId
*
* NewIncommingTx (address, txid)
* NewIncomingTx (address, txid)
* NewOutgoingTx - (txProposalId, txid)
*
* data Examples:

2
lib/wsapp.js

@ -39,7 +39,7 @@ WsApp.subscribeAddresses = function(walletId, addresses) {
function handlerFor(walletId, address, txid) {
var notification = Notification.create({
walletId: walletId,
type: 'NewIncommingTx',
type: 'NewIncomingTx',
data: {
address: address,
txid: txid,

Loading…
Cancel
Save