Docs

starknet_getStateUpdate - Get the Info abou...

Get the information about the result of executing the requested block

Get the information about the result of executing the requested block

Request Parameters

Request
block_idstring

Block reference ("latest", "l1_accepted", block hash, or block number)

Response Body

Response
resultOBJECT

The information about the state update of the requested block State update with block hash, old root, new root, and state diff

Errors

CodeMessage
24Block not found

Examples

Bash
curl -X POST https://api-starknet-mainnet.n.dwellir.com/YOUR_API_KEY \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "method": "starknet_getStateUpdate",
    "params": [
      {
        "block_hash": "0x15d2401c3a65e0a2b74b20402b01bbea28b118291b07cdca4a94fe4e964270a"
      }
    ],
    "id": 1
  }'

On this page