API Reference
Attestation
Evaluate a transaction against configured policy and return an attestation (chain-name based, supports EVM, Solana, Stellar, and Tron)
POST
Request a compliance attestation for a user. The API evaluates the user against your configured policy and returns a signed attestation.
Request Parameters
Use
verification_hash to screen via API (Phase 1). Use to with your contract address to enforce onchain (Phase 2).Supported Chains
- Interface-Only
- Onchain Enforcement
Use
verification_hash to evaluate compliance without a deployed contract.Interface-only requests return the compliance result without a signed attestation, because there is no contract to verify it onchain. The
attestation fields are returned empty. To receive a signed attestation, use to with your contract address (see the Onchain Enforcement tab).Request
cURL
Response (Compliant)
Response (Non-Compliant)
Some policies return areason object when the user is not compliant, providing a machine-readable code and a human-readable message explaining why the evaluation failed. Both the code and message values are fully customizable when authoring a policy.Response Fields
Body
application/json
Transaction details to evaluate for policy compliance and to issue a chain-appropriate attestation.
Response
200 - application/json
Successfully evaluated and returned attestation
Evaluation result and attestation payload to embed onchain.
