Streams

Get Merkle Proofs for Wallet

Changed on

Retrieve Merkle proofs for a wallet address across multiple streams.

The endpoint returns proofs for the latest snapshot with a committed root hash for each stream.
The proofs can be used to claim rewards on-chain.

**Caching Strategy:**
1. Check local in-memory LRU cache (LRU eviction ensures memory stays bounded)
2. If not in cache, check Redis
3. If not in Redis, rebuild from database
4. Validate root hash matches the database value
get/v2/streams/merkle_proofs

Request

  • The document declares no server URL.
  • Auth: none declared

Query parameters

walletstring required
streamIdsUuidUUID[] nullable required
[
  "248df4b7-aa70-47b8-a036-33ac447e668d"
]

Response

OK

Example response

{
  "proofs": [
    {
      "streamId": "248df4b7-aa70-47b8-a036-33ac447e668d"
    }
  ]
}

Changes