Skip to content
Permalink
Browse files

Add the getTransactionsByPublicKey method

  • Loading branch information...
pxgamer committed Nov 5, 2018
1 parent 610ffbf commit 162bd370054bf9702cc7418b16dc2d49468ffd48
Showing with 14 additions and 0 deletions.
  1. +14 −0 src/Arionum.js
@@ -85,6 +85,20 @@ class Arionum {
})
}

/**
* Retrieve the transactions of a specified public key.
*
* @param {string} publicKey
* @return Promise
*/
getTransactionsByPublicKey (publicKey) {
return this
.getJson({
q: 'getTransactions',
public_key: publicKey
})
}

/**
* Retrieve a specified transaction by its id.
*

0 comments on commit 162bd37

Please sign in to comment.
You can’t perform that action at this time.