# BRAINIAC Crypto Governance Execution Risk Score

> BRAINIAC Crypto Governance Execution Risk Score is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.04/call, status unknown (last checked 2026-11-13).

Simulates a set of onchain calls and returns a risk score, state drift index, and flags for unforeseen token transfers before execution

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/crypto-governance/execution-risk-score?utm_source=zero.xyz
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-crypto-governance-execution-risk-score-f21a00a7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JY0KZFglaj10mKHBfyfac

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability brainiac-crypto-governance-execution-risk-score-f21a00a7 -d '<json body>'
```

Example prompt: Before we submit this governance proposal onchain, simulate these 3 contract calls from sender 0xABC...123 — I'm expecting 500 USDC to go to 0xDEF...456 — and tell me the execution risk score and whether any unforeseen transfers would happen.

## When to prefer this

Use this endpoint when you need to pre-flight check a batch of onchain governance or multisig calls before submitting them to a blockchain, especially when you want to detect unexpected token transfers or quantify execution risk. It is specifically designed for DAO governance and DeFi protocol execution scenarios, not generic contract debugging. Prefer this over manual simulation when you need a structured risk score and drift index rather than raw trace output.

## Known failure modes

- Invalid calldata format (not 0x-prefixed hex) returns a validation error
- Target address not a valid EVM address (not 40 hex chars) causes schema rejection
- Exceeding 40 calls in the batch returns a maxItems error
- Simulation failure if contract state cannot be fetched from the chain
- Payment not settled via x402/USDC on Base causes 402 response before execution
- Empty calls array rejected by minItems:1 constraint

## How this service works

Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.

## Output

Returns a JSON object with three fields: execution_risk_score (integer, higher = riskier), state_drift_index (integer measuring how much onchain state deviates from expectations), and unforeseen_transfers_detected (boolean flagging whether unexpected token movements would occur during execution).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "calls": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "target",
     "data"
    ],
    "properties": {
     "data": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]*$",
      "maxLength": 20000
     },
     "value": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": 0
     },
     "target": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$"
     }
    },
    "additionalProperties": false
   },
   "maxItems": 40,
   "minItems": 1
  },
  "sender": {
   "type": "string",
   "pattern": "^0x[0-9a-fA-F]{40}$"
  },
  "balances": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "token",
     "account",
     "amount"
    ],
    "properties": {
     "token": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$|^native$"
     },
     "amount": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": 0
     },
     "account": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$"
     }
    },
    "additionalProperties": false
   },
   "maxItems": 200
  },
  "expected": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "token",
     "to",
     "amount"
    ],
    "properties": {
     "to": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$"
     },
     "token": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$|^native$"
     },
     "amount": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": 0
     }
    },
    "additionalProperties": false
   },
   "maxItems": 40
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "state_drift_index": 75,
  "execution_risk_score": 25,
  "unforeseen_transfers_detected": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-crypto-governance-execution-risk-score-f21a00a7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.brainiac.software](https://www.zero.xyz/host/www.brainiac.software/llms.txt)
