Merge pull request #1340 from josepfo/feat/get-tx-hashes-for-address
Feat/get tx hashes for address
This commit is contained in:
commit
0cdd1d7801
10 changed files with 91 additions and 20 deletions
|
|
@ -151,11 +151,17 @@ function checkBlockchainStatus (cryptoCode) {
|
|||
.then(res => !!res['initial_block_download_complete'] ? 'ready' : 'syncing')
|
||||
}
|
||||
|
||||
function getTxHashesByAddress (cryptoCode, address) {
|
||||
checkCryptoCode(cryptoCode)
|
||||
.then(() => fetch('getaddresstxids', [address]))
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
balance,
|
||||
sendCoins,
|
||||
newAddress,
|
||||
getStatus,
|
||||
newFunding,
|
||||
checkBlockchainStatus
|
||||
checkBlockchainStatus,
|
||||
getTxHashesByAddress
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue