verify_proof

Function verify_proof 

Source
pub async fn verify_proof<V: SolValue + Send>(
    proof: Proof,
    app_id: AppId,
    action: &str,
    signal: V,
) -> Result<(), Error>
Expand description

Verify a World ID proof using the Developer Portal API.

§Errors

Errors if the proof is invalid (Error::Verification), or if there’s an error validating the proof.