zone_getCommit
Returns the block hash, state root, and block commitment of an Interop Zone block, along with the beacon heights at which the block was committed and settled.
committedAt and settledAt are beacon chain heights. settledAt and settledStateRoot are null until the block is settled.
The commit history starts at zone block 19309 (0x4b6d). Requesting an earlier height returns an "invalid params" error whose data.firstHeight is the first available height.
Path Parameters
stringrequireddefaults to
docs-demoFor higher throughput, create your own API key
Request
string
format: "^0x([1-9a-f]+[0-9a-f]*|0)$"requiredThe zone block height, as a hex-encoded quantity. Must be 0x4b6d (19309) or higher.
Responses
200
The commitment and settlement record for the requested zone block.
Errors
-32602block 1 precedes this node's commit history, which starts at 19309
-32001The block isn't committed, executed, or published yet
-32000Read failure or timeout
Was this page helpful?