Provers

List Provers

List Provers

GET https://privacy.provide.services/api/v1/provers

Returns a list of Prover instances in the authorized scope

Headers

Create Prover

Create Prover

POST https://privacy.provide.services/api/v1/provers

Creates a Prover using the given parameters

Headers

Request Body

Retrieve Prover Details

Get Prover Details

GET https://privacy.provide.services/api/v1/provers/:id

Returns detailed information for a specified Prover

Path Parameters

Headers

Retrieve Note Value

Get Note Value

GET https://privacy.provide.services/api/v1/provers/:id/notes/:index

Returns the note store value of the specified Prover; the response contains the decrypted note

Path Parameters

Headers

        id: bbc1195e-d131-4b2f-b1a8-1b6f34b55d3e
        created_at: '2021-03-30T02:50:17.155Z'
        user_id: 7c8fe6f1-38c3-4da1-b4b7-7591c6d0ca7c
        vault_id: 190822c9-62f5-4caf-a419-df735a793b2f
        key_id: db9e6e21-23b0-497d-a02c-8a8813f8bf2d
        purpose: 44
        public_key: xpub661MyMwAqRbcGdYXwwnwcnrH51AxyF3kkTeEt6iZfNDXsg4MLPgV7bEZ2v4uCx9djAboy6vSv3VbHPc6hf4Do8wb7FpJCuG7aMBwH2QgLJu

Retrieve Nullifier Value

Get Nullifier Value

GET https://privacy.provide.services/api/v1/provers/:id/nullifiers/:index

Path Parameters

Generate Proof

Generate Proof

POST https://privacy.provide.services/api/v1/provers/:id/prove

Once you have provisioned a prover, this API can be used to generate a proof given valid witness parameters. Calling this API has an implicit side-effect of writing the hash of generated proof to the persistent store associated with the Prover.

Path Parameters

Headers

Request Body

Verify Proof

Verify Proof

POST https://privacy.provide.services/api/v1/provers/:id/verify

Verifies a Proof using the given Witness parameters

Path Parameters

Headers

Request Body

Last updated