Skip to main content
Predicate is currently invite-only. Contact the Predicate team to request access before proceeding.
1

Sign up

Request an invitation from the Predicate team and create your organization in the Predicate application.
2

Set Policy ID

To prove ownership of your contracts, copy the unique ID generated by the application and set it on your deployed contract’s policyID field.
3

Test Integration

Test your integration using the default Test policy, which returns random compliance results for testing purposes.

Sign Up

Once you accept your email invitation from our team, navigate to the Predicate Application and create your organization.

Set Policy ID

As part of the onboarding process, the application will generate a unique policy ID for your project—it allows you to prove ownership of your contracts. Set this ID in your contracts, then add your contracts to the the project.
Your integration defaults to Random Compliance Sampling, a test policy that returns random compliance results. This is useful for verifying your initial integration before going live.

Test Integration

Generate an API key from the Admin tab, fill in the placeholder values, then run the following curl command to confirm your integration is working. You should see the request populate on the App’s Home page.
Template for Predicate API call
curl --location 'https://api.predicate.io/v2/attestation' \
--header 'x-api-key: {PREDICATE_API_KEY}' \
--header 'Content-Type: application/json' \
--data '{
    "to": "{YOUR_CONTRACT_ADDRESS}",
    "from": "0x4675C7e5BaAFBFFbca748158bEcBA61ef3b0a263",
    "data": "0x",
    "msg_value": "0",
    "chain": "ethereum"
  }'
Example Success Response
{
  "policy_id": "policy_abc123def456",
  "is_compliant": true,
  "attestation": {
    "uuid": "550e8400-e29b-41d4-a716-446655440000",
    "expiration": 1696640400,
    "attester": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
    "signature": "0x1b2c3d4e5f6789abcdef0123456789abcdef0123456789ab"
  }
}
If you encounter errors, see our common errors page to assist in resolution.

Explore the Application

  1. Invite Team Members - Collaborate with your development team
  2. Monitor Request Traffic - Get observability into your integration