> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
> Use this file to discover all available pages before exploring further.

# debug_getModifiedAccountsByHash | Base

> The debug_getModifiedAccountsByHash RPC method retrieves a list of accounts that were modified in a specific block, identified by the block's hash.

The `debug_getModifiedAccountsByHash` RPC method retrieves a list of accounts that were modified in a specific block, identified by the block's hash. This method is useful for developers and analysts who need to track changes to the state of accounts within a particular block for debugging or analytical purposes.

<Check>
  **Get your own node endpoint today**

  [Start for free](https://console.chainstack.com/) and get your app to production levels immediately. No credit card required.

  You can sign up with your GitHub, X, Google, or Microsoft account.
</Check>

## Request

To use `debug_getModifiedAccountsByHash`, you should send a POST request with a JSON RPC call in the body.

## Parameters

* **Block Hash** (`string`): The hash of the block for which to retrieve the list of modified accounts.

## Response

The response will be an array of account addresses (as strings) that were modified in the specified block.

* **result** (`array`): The addresses of the accounts modified in the specified block.

## Use case

The `debug_getModifiedAccountsByHash` method is essential for:

* Developers debugging contract interactions within specific blocks.
* Analysts tracking state changes for forensic or audit purposes.
* Tools and services monitoring the Base state for changes to specific accounts within a block.


## OpenAPI

````yaml /openapi/base_node_api/debug_getModifiedAccountsByHash.json POST /2fc1de7f08c0465f6a28e3c355e0cb14
openapi: 3.0.0
info:
  title: debug_getModifiedAccountsByHash example
  version: 1.0.0
  description: >-
    This is an API example for debug_getModifiedAccountsByHash, a method to
    retrieve a list of accounts modified  in a specific block identified by its
    hash.
servers:
  - url: https://base-mainnet.core.chainstack.com
security: []
paths:
  /2fc1de7f08c0465f6a28e3c355e0cb14:
    post:
      tags:
        - Debug Operations
      summary: debug_getModifiedAccountsByHash
      operationId: getModifiedAccountsByHash
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - jsonrpc
                - method
                - id
                - params
              properties:
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: debug_getModifiedAccountsByHash
                id:
                  type: integer
                  default: 1
                params:
                  type: array
                  items:
                    type: string
                  default:
                    - >-
                      0x5208b53713adbfe3397055946b487b16c45f018dee8213df81b3f4ccb9b3142d
      responses:
        '200':
          description: A list of accounts modified in the specified block
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: array
                    items:
                      type: string
                    description: The addresses of the modified accounts.

````