A server for verifying Proof of Reserve (PoR) proofs of CEXs using Zero-Knowledge technology. This server provides both a web interface and a REST API for managing and verifying proofs.
It uses the latest release of our PoRv2 prover CLI to verify proofs. If a proof was created/verified with a former version, it will still be available in our database, however, the exchange won't be able to submit new proofs created using former versions of the prover.
- Web interface for viewing verification status and details
- REST API for programmatic access
- Support for multiple proof versions
Get verification details by either ID, proof timestamp, or file hash.
Query Parameters:
id
: Verification IDproofTimestamp
: Proof timestampfileHash
: File hash (SHA256)
Response:
{
"valid": "boolean | null",
"fileHash": "string",
"verificationTimestamp": "number | null",
"proofTimestamp": "number",
"id": "number",
"proverVersion": "string",
"assets": {
"<asset_name>": {
"price": "string",
"balance": "string",
"usd_balance": "string"
}
}
}
Get a paginated list of all verifications.
Query Parameters:
page
(optional, default: 1): Page numberpageSize
(optional, default: 10): Number of items per page
Response:
{
"verifications": "array",
"total": "number"
}
Get the current prover version.
Response:
{
"proverVersion": "string"
}
Verify a new proof.
Headers:
Authorization: Bearer <API_KEY>
Request Body:
{
"url": "<URL to the proof file>"
}
Response:
{
"id": "number",
"valid": "boolean | null",
"fileHash": "string",
"verificationTimestamp": "number | null",
"proofTimestamp": "number",
"proverVersion": "string"
}
Delete a verification. This is used in production if an error occurs with a verification and it needs to be removed for some reason.
Headers:
Authorization: Bearer <ADMIN_API_KEY>
Response:
{
"message": "Verification deleted successfully"
}
Update the prover version. Downloads and installs the latest release of PoRv2
Headers:
Authorization: Bearer <ADMIN_API_KEY>
Response:
{
"message": "Starting to update prover version..."
}
Main page showing a list of all verifications with pagination.
Query Parameters:
page
(optional, default: 1): Page numberpageSize
(optional, default: 20): Number of items per page
View details of a specific verification.
Parameters:
identifier
: Can be either a proof timestamp or a file hash
PORT
(optional, default: 3000): Server portAPI_KEY
: API key for protected endpointsADMIN_API_KEY
: API key for admin endpoints