v1

latestOpenAPI 3.0.32026-07-22194038.3 KB
indexer

Get Inclusion Proof

Returns a Merkle inclusion proof for the given leaf index to the current WorldIDRegistry tree. In addition, it also includes the entire authenticator slot list for the World ID account. Removed authenticators are represented as null entries to preserve pubkey_id positions.

post/inclusion-proof

Request body

leaf_indexstring hex required

The leaf index to query (from the WorldIDRegistry).

Accepts decimal or 0x/0X-prefixed hex input.

Example request

{
  "leaf_index": "0x1"
}

Response

Merkle inclusion proof with authenticator public keys

leaf_indexstring hex required

The World ID's leaf position in the Merkle tree

rootstring hex required

The root hash of the Merkle tree (hex string)

siblingsstring[] required

The sibling path up to the Merkle root (array of hex strings)

Example response

{
  "leaf_index": "0x2a",
  "root": "0x1a2b3c4d5e6f7890"
}