catapult-rest icon indicating copy to clipboard operation
catapult-rest copied to clipboard

I want to get merkle information with block height of the root hash value.

Open xembook opened this issue 3 years ago • 0 comments

I want to get merkle information with block height of the root hash value. for example ,

http://localhost:3000/accounts/{accountId}/merkle

response

{
  "raw": "00008080DA9B....",
  "height" : 246044,
  "tree": [
    {
      "type": 0,
      "path": "string",
      "encodedPath": "string",
      "nibbleCount": 0,
      "linkMask": "string",
      "links": [...],
      "branchHash": "C8FC3F"
    }
  ]
}

This is because I want to access Symbol myself to verify their reliability in case I get merkle path from an untrusted third party app. However, it is currently not possible to know from which block header the markle path is calculated.

xembook avatar Feb 28 '21 15:02 xembook