Get Authenticator Pubkeys
curl --request POST \
--url https://api.example.com/authenticator-pubkeys \
--header 'Content-Type: application/json' \
--data '
{
"leaf_index": "0x1"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({leaf_index: '0x1'})
};
fetch('https://api.example.com/authenticator-pubkeys', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"authenticator_pubkeys": [
"<string>"
],
"offchain_signer_commitment": "<string>"
}Indexer
Get Authenticator Pubkeys
Returns the compressed authenticator public keys for a given World ID by leaf index.
Removed authenticator slots are returned as null to preserve pubkey_id positions.
POST
/
authenticator-pubkeys
Get Authenticator Pubkeys
curl --request POST \
--url https://api.example.com/authenticator-pubkeys \
--header 'Content-Type: application/json' \
--data '
{
"leaf_index": "0x1"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({leaf_index: '0x1'})
};
fetch('https://api.example.com/authenticator-pubkeys', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"authenticator_pubkeys": [
"<string>"
],
"offchain_signer_commitment": "<string>"
}Body
application/json
Query for the indexer based on a leaf index.
Used for getting inclusion proofs and signature nonces.
The leaf index to query (from the WorldIDRegistry).
Accepts decimal or 0x/0X-prefixed hex input.
Example:
"0x1"
Response
200 - application/json
Response containing authenticator public keys for an account from the indexer.
The compressed authenticator public keys for the account.
Entries may be null for removed authenticator slots to preserve pubkey_id positions.
The commitment to all the authenticator pubkeys. This commitment is
stored in the WorldIDRegistry.
Was this page helpful?