Skip to content
This repository has been archived by the owner on Jun 10, 2022. It is now read-only.

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

Open
xembook opened this issue Feb 28, 2021 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@xembook
Copy link

xembook commented Feb 28, 2021

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.

@rg911 rg911 added the enhancement New feature or request label Mar 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants