Skip to main content

Query Head State

const headState = await hydraService.queryHeadState();
console.log(headState);
{ "state": "Partial Commitments Received" }

After the other participant has commited, the head state will display the following:

{ "state": "Open and Ready for Transactions" }