Skip to main content
POST
bor_getRootHash
Polygon API method bor_getRootHash returns the root hash computed over a given block range. Bor uses these range root hashes when checkpointing Polygon state to Ethereum.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

  • from — the start block number (integer).
  • to — the end block number (integer). The range is capped by the node’s configured limit.

Response

  • result — the root hash for the requested block range, as a hexadecimal string without the 0x prefix.

Use case

bor_getRootHash is used by checkpoint and bridge tooling to reconstruct or verify the block-range root hashes that Bor submits to Ethereum.

Body

application/json
jsonrpc
string
default:2.0
required
method
string
default:bor_getRootHash
required
id
integer
default:1
required
params
integer[]
required

Response

200 - application/json

Result

jsonrpc
string
id
integer
result
string
Last modified on July 15, 2026