Prerequisites
Before you begin, you need:- A Cardinal pilot API key
- The API base URL supplied during onboarding
- A transaction intent containing sender, recipient, chain, token, and amount
1. Configure your environment
Store the values supplied during onboarding as environment variables.2. Check a transaction
Call the protection endpoint before requesting a wallet signature, token approval, or contract transaction.3. Handle the decision
A successful check returns a stable decision shape.Treat
risk_score as the summary, findings as the reasons, and recommended_action as the decision. Do not build application logic from the score alone.4. Continue only after the check
The protected sequence is:Explore the Protection API
Review the endpoint, response model, and current pilot limitations.

