API Workflow
The Predicate API evaluates transactions against your configured policies and returns cryptographic attestations for onchain verification.- Submit transaction details to
/v1/task
- Receive a signed
PredicateMessage
if compliant - Embed the attestation in your transaction calldata
- Your smart contract verifies the attestation using
PredicateClient.sol
Request Format
Response Format
Authentication
Include your API key in the request header:Base URLs
- Production:
https://api.predicate.io/v1
- Staging:
https://staging.api.predicate.io/v1