listtransactions

privex.rpcemulator.bitcoin.listtransactions(account='*', count: int = 10, skip: int = 0, watch_only=False)[source]

Simulates a Bitcoin RPC listtransactions call - returns a list of dictionary transactions from internal ['transactions']

Parameters
  • account – Account to list TXs for

  • count – Load this many recent TXs

  • skip – Skip this many recent TXs (for pagination)

  • watch_only – (NOT IMPLEMENTED)

Returns

[ {account, address, category, amount, label, vout, fee, confirmations, trusted, generated, txid, time, comment, to}, … ]