@ -601,12 +601,12 @@ function getRawTransactionsWithInputs(txids, maxInputs=-1) {
}
});
resolve({ transactions:transactions, txInputsByTransaction:txInputsByTransaction });
function getBlockByHashWithTransactions(blockHash, txLimit, txOffset) {
@ -604,8 +604,10 @@ router.get("/address/:address", function(req, res) {
var pagedTxids = [];
for (var i = offset; i < (offset + limit); i++) {
if (txids.length > i) {
pagedTxids.push(txids[i]);
coreApi.getRawTransactionsWithInputs(pagedTxids).then(function(rawTxResult) {
res.locals.transactions = rawTxResult.transactions;
@ -220,6 +220,9 @@ block content
span The transaction history for this address was requested from mulitple ElectrumX servers and the results did not match. The results below were obtained only from
span(class="font-weight-bold") #{electrumHistory.server}
if (!transactions || transactions.length == 0)
span No transactions found
if (transactions)
each tx, txIndex in transactions
//pre