@staticmethod
def process(rpc_connection, account='*', tx_counts=10, skips=0, include_watchonly=True):
    commands = [['listtransactions', account, tx_counts, skips, include_watchonly]]
    data = rpc_connection.batch_(commands)
    if (len(data) == 0):
        return []
    txs = [item for item in data[0] if (('blocktime' in item) and (item['category'] == 'receive'))]
    from utils import filtered
    return [filtered(item, ['address', 'category', 'amount', 'confirmations', 'txid', 'blocktime']) for item in txs][::(- 1)]
@staticmethod
def process(rpc_connection, account='*', tx_counts=10, skips=0, include_watchonly=True):
    commands = [['listtransactions', account, tx_counts, skips, include_watchonly]]
    data = rpc_connection.batch_(commands)
    if (len(data) == 0):
        return []
    txs = [item for item in data[0] if (('blocktime' in item) and (item['category'] == 'receive'))]
    from utils import filtered
    return [filtered(item, ['address', 'category', 'amount', 'confirmations', 'txid', 'blocktime']) for item in txs][::(- 1)]