listsinceblock
listsinceblock ( "blockhash" target_confirmations include_watchonly include_removed )
Returns all transactions in blocks since the specified block hash, or all transactions if omitted.
If the specified blockhash
is no longer part of the main chain, transactions from the fork point onward are included.
If include_removed
is set to true, transactions affecting the wallet that were removed due to a reorg will be returned in the “removed” array.
Argument #1 – blockhash
Type: string, optional
Specifies the block hash from which to list transactions. If omitted, all transactions will be listed.
Argument #2 – target_confirmations
Type: numeric, optional, default=1
Returns the nth block hash from the main chain. For example, 1 would return the best block hash. This is not used as a filter but only affects the lastblock
in the return value.
Argument #3 – include_watchonly
Type: boolean, optional, default=true for watch-only wallets, otherwise false
Includes transactions to watch-only addresses (see importaddress
).
Argument #4 – include_removed
Type: boolean, optional, default=true
-
Includes transactions that were removed due to a reorganization in the “removed” array (not guaranteed to work on pruned nodes).