🟪 Polygon
debug_getModifiedAccountsByNumber

debug_getModifiedAccountsByNumber RPC Method

The debug_getModifiedAccountsByNumber returns an array of modified addresses (contracts) in the given block on the Polygon blockchain.

Parameters

  • block number - The number of the block, hex encoded.

Returns

  • array - The array of modified addresses.

Request

POST https://<network>.chainnodes.org/YOUR-API-KEY

Example

Need RPC API keys?

Get 12.5M archival requests for free today.

  • HTTPS POST Request with a JSON RPC call in the body
  • Replace YOUR-API-KEY with the API key from your CHAINNODES.ORG Dashboard
  • You can use a different supported network by replacing polygon-mainnet
curl https://polygon-mainnet.chainnodes.org/YOUR-API-KEY \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc":"2.0","method":"debug_getModifiedAccountsByNumber","params":["0x10344A5"],"id":1}'

Body

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": [
        "0x32400084c286cf3e17e7b677ea9583e60a000324",
        "0x36b665dd9635317d582ddee3e2fadfb68f60c584",
        "0x6887246668a3b87f54deb3b94ba47a6f63f32985",
        "0xabb4e0e1b852d8f685892787d56dc9e5d8c58395",
        "0xc84ef23265e4557804a7921a06b9719882e511d4",
        "0xf8c18df7509c03b45e6247b2b9e73fcadef24dd6",
        "0xe89df3ac8e474d96cb20fa29ef41e6e3f745c20c",
        "0x28dd569a0702ba943c7a2498020f6fbf343211dd",
        "0x2bb1881b1dde050fdf756c25e025aa9367b4affc",
        "0x69f8731fb38fd1e8bd8b9f2b465cee2d218be617",
        "0x87b918e76c92818db0c76a4e174447aee6e6d23f",
        "0xb342cddcdc7382a25b0a6ea08f82345d596f8ac8",
        "0xb5a1466b4c40ef8fd2fad85c881c52a6356c0da0",
        "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
        "0xf50ba81a48d10ff5ddb1beef871008e1ddc4aaee",
............
............
............
}

💡 Confusing?

Ask our experienced blockchain developers in Telegram