Verify an ed25519 Solana wallet signature over a message containing a Nonce line. Consumes the nonce — one verification per nonce. Returns the signer pubkey.
{
"items": [
{
"proof": {
"merkleTreeDepth": 20,
"merkleTreeRoot": "0x...",
"nullifier": "0x...",
"message": "0x...",
"scope": "0x...",
"points": ["0x...", "0x...", "0x...", "0x...", "0x...", "0x...", "0x...", "0x..."]
}
}
]
}
Without payment, the server returns 402 Payment Required with x402 challenge details.
A paying agent signs a USDC transaction on Base and retries with the payment header.
{
"results": [
{ "valid": true, "method": "semaphore-official-vkey" },
{ "valid": true, "method": "semaphore-official-vkey" },
{ "valid": true, "method": "semaphore-official-vkey" }
],
"count": 3,
"duration_ms": 67,
"avg_ms": 22.33
}