POST
/
95e61622bf6a8af293978377718e3b77
/
wallet
/
getmerkletreevoucherinfo
wallet/getmerkletreevoucherinfo
curl --request POST \
  --url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/getmerkletreevoucherinfo \
  --header 'Content-Type: application/json' \
  --data '{
  "output_point": "030c8c2bc59fb3eb8c12157b4d7ddd4b2d6cf2c5b3f1a2c3d4e5f6071819202122",
  "ak": "1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b",
  "nk": "9f8e7d6c5b4a39281706f5e4d3c2b1a09f8e7d6c5b4a39281706f5e4d3c2b1a0",
  "position": 12345
}'
{
  "voucher_info": {},
  "paths": [
    "<string>"
  ],
  "anchors": [
    "<string>"
  ],
  "rt": "<string>",
  "output_point_info": {}
}
TRON API method that retrieves merkle tree voucher information. This method provides cryptographic proof data for verifying transactions or account states using merkle tree structures.
Get you 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

  • output_point — the output point for the merkle tree voucher
  • ak — the authentication key for the voucher
  • nk — the nullifier key for the voucher
  • position — position in the merkle tree

Response

Returns merkle tree voucher information containing:
  • voucher_info — the voucher information object
  • paths — array of merkle tree path elements for cryptographic verification
  • anchors — array of anchor values for the merkle tree
  • rt — merkle tree root
  • output_point_info — detailed information about the output point

Use case

The wallet/getmerkletreevoucherinfo method is used for:
  • Generating cryptographic proofs for shielded transactions in TRON privacy features.
  • Verifying transaction authenticity using merkle tree structures.
  • Building privacy-preserving applications that require zero-knowledge proofs.
  • Implementing advanced cryptographic verification systems on TRON network.

Body

application/json

Response

200 - application/json

Merkle tree voucher information

The response is of type object.