Verifies a Semaphore proof

post/verifySemaphoreProof

Query parameters

maxRootAgeSecondsinteger

The max age in seconds of the provided root. If the root is older than this value this endpoint will return an error and a 400 response.

Request body

rootstring required
signalHashstring required
nullifierHashstring required
externalNullifierHashstring required

Response

Valid proof response

rootstring
status'new' | 'failed' | 'pending' | 'mined'
pendingValidAsOfstring date-time
minedValidAsOfstring date-time nullable

Changes

Changed in 5 of the 15 revisions of this API.475

    • added the new optional query request parameter maxRootAgeSeconds

      new-optional-request-parameter

  • 8e437603378d21See the full diff
    • added the new failed enum value to the status response property for the response status 200

      response-property-enum-value-added

    • added the new new enum value to the status response property for the response status 200

      response-property-enum-value-added

    • removed the confirmed enum value from the status response property for the response status 200

      response-property-enum-value-removed

  • 790ca477d1ec352See the full diff
    • added the new required request property externalNullifierHash

      new-required-request-property

    • added the new required request property nullifierHash

      new-required-request-property

    • added the new required request property signalHash

      new-required-request-property

    • removed the request property external_nullifier_hash

      request-property-removed

    • removed the request property nullifier_hash

      request-property-removed

    • removed the request property signal_hash

      request-property-removed

    • removed the optional property mined_valid_as_of from the response with the 200 status

      response-optional-property-removed

    • removed the optional property pending_valid_as_of from the response with the 200 status

      response-optional-property-removed

    • added the optional property minedValidAsOf to the response with the 200 status

      response-optional-property-added

    • added the optional property pendingValidAsOf to the response with the 200 status

      response-optional-property-added

    • endpoint added

      endpoint-added

    • api path removed without deprecation

      api-path-removed-without-deprecation

    This revision also has 9 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog