Get All Transaction Logs For Block

Get all transaction logs for a given block.

Parameters

Required ParamPurposeRequirements

block_index

The block on which to perform this action.

Block must exist in the wallet.

Example

In the below example, the account in the wallet sent a transaction to itself. Therefore, there is one sent transaction_log in the block, and two received (one for the change, and one for the output TXO sent to the same account that constructed the transaction).

{
  "method": "get_all_transaction_logs_for_block",
  "params": {
    "block_index": "152951"
  },
  "jsonrpc": "2.0",
  "id": 1
}

Last updated