api/notifications.js
function getAccountTransactionsInBaseTransactionLedger(callback) {
    var params = {
      account: notificationDetails.account,
      ledger_index_min: notificationDetails.transaction.ledger_index,
      ledger_index_max: notificationDetails.transaction.ledger_index,
      exclude_failed: false,
      max: 99999999,
      limit: 200 // arbitrary, just checking number of transactions in ledger
    };

    transactions.getAccountTransactions(api, params, callback);
  }
function getAccountTransactionsInBaseTransactionLedger(callback) {
    var params = {
      account: notificationDetails.account,
      ledger_index_min: notificationDetails.transaction.ledger_index,
      ledger_index_max: notificationDetails.transaction.ledger_index,
      exclude_failed: false,
      max: 99999999,
      limit: 200 // arbitrary, just checking number of transactions in ledger
    };

    transactions.getAccountTransactions(api, params, callback);
  }
function getAccountTransactionsInBaseTransactionLedger ( callback ) { var params = { account : notificationDetails . account , ledger_index_min : notificationDetails . transaction . ledger_index , ledger_index_max : notificationDetails . transaction . ledger_index , exclude_failed : false , max : 99999999 , limit : 200 // arbitrary, just checking number of transactions in ledger } ; transactions . getAccountTransactions ( api , params , callback ) ; }
Get all of the transactions affecting the specified account in the given ledger. This is done so that we can query for one more than that number on either side to ensure that we'll find the next and previous transactions, no matter how many transactions the given account had in the same ledger
Get all of the transactions affecting the specified account in the given ledger . This is done so that we can query for one more than that number on either side to ensure that we ll find the next and previous transactions no matter how many transactions the given account had in the same ledger