Commit Graph

48 Commits

Author SHA1 Message Date
sairajzero
0c8d78f6ae bug fix
Fixed: 'incomplete' property not returned in /addrs/<addr>/txs API
2023-05-10 03:06:08 +05:30
sairajzero
36d2008962 Fix: option-latest not working in post method 2023-04-27 19:35:04 +05:30
sairajzero
ea4ead21ca Adding option 'before' in address query 2023-04-27 04:02:28 +05:30
sairajzero
e6ced26b51 AddressHistory API: query option 'latest'
- using latest option will query the latest 1000 (MAX_ITEM_LIMIT) of the address
- Allowed values:
0 or false => false (DEFAULT)
1 or true => true
*nothing* => true (ie, just leave the query as ?latest)

- Address history API now also gives initItem (oldest tx in itemlist). initList is undefined if no confirmed tx available in item list
2023-04-27 02:19:47 +05:30
sairajzero
f63922b84e Adding option mempool in /addrs API
/addrs/<addrs>/txs API now supports option mempool.
Available values for mempool option:
- true: [DEFAULT] query from mempool and blocks (ie, confirmed and unconfirmed tx)
- false: do not query from mempool. (ie, confirmed tx only)
- only: query only from mempool (ie, unconfirmed tx only)
2023-04-13 03:58:59 +05:30
sairajzero
503eaf70cf addressSummarySubQuery: API chain-query
- Adding support for API chain-query for addresses with lot of txs
2023-04-11 04:01:15 +05:30
sairajzero
49356ef46c Bug fix
- Fixed: lastItem give tx details instead of txid
2023-02-05 23:36:25 +05:30
sairajzero
20eb50b281 API query options
- Deprecating options (from/to) in API `/addr/:addr`
- Adding option `after` in APIs `/addr/:addr` and  `/addrs/:addrs/txs`,
- Adding response value `lastItem` to API `/addrs/:addrs/txs`
2023-02-05 04:01:04 +05:30
sairajzero
dbb8cafdc3 Minor fixes and binding stop-flag to on-close
- Set flag_stop  when ws or http conn is closed
- Fixed: incorrect order of parameters to ws fns. ie, (ws, req) is the correct order
- Pass noTxList flag to options in show_ws and addressSummarySubQuery
- Fixed: minor typos/misspellings
2023-02-04 17:53:50 +05:30
sairajzero
ad9fe0c80a Fixed: sub-query APIs value conversion
- Fixed: Sat-to-Coin conversion applied over Coin value
- Fixed: totalReceived and totalSent APIs returning Sat instead of Coin value
2023-01-27 18:21:04 +05:30
sairajzero
79ed3ad330 Adding websocket api calls
The following api now have ws support for large data transmission
- /addr/:addr/
- /addrs/:addrs/txs
2023-01-27 18:05:48 +05:30
OstlerDev
aafc5911f4 BTC -> Flo 2018-01-15 16:35:41 -08:00
Chris Kleeschulte
79855ff4c2
Bumped version. 2017-11-22 16:03:48 -05:00
Chris Kleeschulte
1b86e3636f Merge branch 'master' of github.com:kleetus/insight-api 2017-11-13 14:14:24 -05:00
Chris Kleeschulte
d2ae088d8e
Removed utxo cache and removed max addresses limiting. 2017-11-13 14:13:22 -05:00
Matias Alejo Garcia
72827b12a6 fix data. handling 2017-11-13 11:32:07 -03:00
Matias Alejo Garcia
136755fcda fix /addr/<1xxx> translation 2017-11-13 01:21:02 -03:00
Matias Alejo Garcia
ef451f8342 fix utxo cache 2017-11-13 01:10:28 -03:00
Matias Alejo Garcia
5a61a2e34a translate address for inputs and outputs 2017-11-12 05:05:39 -03:00
Chris Kleeschulte
bdea9e8517
Added a utxo cache. 2017-10-25 17:52:36 -04:00
Chris Kleeschulte
7809b84d55
Fixed streaming of multiutxos. 2017-10-24 14:17:47 -04:00
Chris Kleeschulte
9e216a818a Streamed multiutxos. 2017-10-20 10:42:47 -04:00
Chris Kleeschulte
efa8bc01c1
Fixed variable name. 2017-10-08 14:16:06 -04:00
Chris Kleeschulte
fbef2d85fa
Removed console.log. 2017-10-04 18:08:21 -04:00
Chris Kleeschulte
b6b730ea2a
Fixing recently sent txs. 2017-10-04 08:33:42 -04:00
Chris Kleeschulte
d93fc791e3
Fixed tests. 2017-09-28 21:59:45 -04:00
Chris Kleeschulte
ed1ed7b8b9
Fixed incoming req.addrs checking. 2017-09-27 19:20:42 -04:00
Chris Kleeschulte
07430955bd
Fixed totalsent. 2017-08-28 17:09:51 -04:00
Chris Kleeschulte
da8920c4dc
Fixed block responses. 2017-08-25 17:35:43 -04:00
Chris Kleeschulte
5e5a58db19 Fixed tests. 2017-08-24 09:38:07 -04:00
Chris Kleeschulte
a1ca054fb8 Fixed tests. 2017-08-21 17:13:49 -04:00
Chris Kleeschulte
d866dd7a65 Retrofitting for new bitcore-node. 2017-08-15 13:31:42 -04:00
Chris Kleeschulte
b63a2208fc Fixes to allow bcoin to work with Transaction controller. 2017-08-10 18:56:13 -04:00
Braydon Fuller
5eb32cf64c test: address trim transform options 2016-07-20 10:54:28 -04:00
Braydon Fuller
38e061e0c5 address: include options to trim transaction results 2016-07-19 20:33:31 -04:00
Braydon Fuller
72fe25aff9 Fix bug with var self = this; 2016-05-25 16:03:36 -04:00
Braydon Fuller
351c315736 common: improve error logging 2016-05-10 19:26:10 -04:00
Braydon Fuller
29e96e83ae address: pass "from" and "to" options 2016-05-10 13:52:01 -04:00
Braydon Fuller
c83842eb60 addresses: parseInt from and to 2016-04-22 17:29:26 -04:00
Braydon Fuller
3e40d71c51 addresses: update utxo response format 2016-04-22 14:46:51 -04:00
Braydon Fuller
2ff77801b0 test: update address test and test upgrades 2016-04-15 13:14:52 -04:00
Braydon Fuller
b18dc95755 address: update utxos 2016-04-11 10:33:53 -04:00
Braydon Fuller
3c355c30a9 blocks: added lru cache 2016-04-11 10:33:53 -04:00
Braydon Fuller
3dfc1bc9e3 Switch to use bitcore-lib. 2015-10-16 18:14:38 -04:00
Braydon Fuller
fe6a441a52 Added spentTxId and spentIndex 2015-10-01 23:49:28 -04:00
Patrick Nagurny
2ec8d1f447 use faster getAddressSummary() 2015-09-17 10:42:35 -04:00
Patrick Nagurny
9485398879 address history pagination 2015-09-15 14:32:34 -04:00
Patrick Nagurny
54462019be remove files 2015-09-02 11:45:51 -04:00