# Falcon Shield – Solana Transaction Guard

> Falcon Shield – Solana Transaction Guard is a paid API for AI agents from falcon-shield.falcon-sol.workers.dev, paid per call via x402, $0.009/call, status unknown (last checked 2026-12-03).

Decodes and safety-checks a Solana transaction before signing, returning NO_MATCH, WARN, or BLOCK with plain-language reasons and a signed receipt.

## Facts

- Endpoint: POST https://falcon-shield.falcon-sol.workers.dev/guard/check?utm_source=zero.xyz
- Price: $0.009/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/falcon-shield-solana-transaction-guard-eda61899
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ahdJlDRwbt8jKCrN9IqVb

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 falcon-shield-solana-transaction-guard-eda61899 -d '<json body>'
```

Example prompt: Before signing this Solana transaction, run it through Falcon Shield to check for any malicious patterns — here's the base64-encoded transaction, my wallet pubkey is 7xKp...Ab3, and I want to block unlimited token approvals (strict mode on).

## When to prefer this

Use Falcon Shield when an AI agent or autonomous wallet is about to sign any Solana transaction and you need a pre-sign safety gate — especially for payment flows using x402 quotes, transactions involving token approvals, or scenarios where spend caps and payee allowlists must be enforced. It is uniquely suited for agentic pipelines because it provides machine-readable verdicts (NO_MATCH/WARN/BLOCK), a signed receipt for audit trails, and optional simulation against Solana mainnet. Prefer this over generic transaction decoders when you need active threat detection, not just decoding.

## Known failure modes

- Malformed or non-base64 transaction input returns ERROR verdict
- Simulation failure against Solana mainnet results in at least a WARN verdict (unless transaction is simple standard instruction set)
- Unknown or unresolvable lookup tables may limit static decode accuracy
- Invalid x402 quote format returns ERROR
- Network timeout from Helius RPC results in ERROR verdict

## How this service works

Use this before an agent or wallet signs a Solana transaction. Decodes the unsigned or signed transaction and returns NO_MATCH (no known-bad pattern matched; not a safety guarantee), WARN, or BLOCK, with plain-language reasons and a signed receipt. Pass an x402 quote to also check a payment transaction against it (overpay, approve-instead-of-transfer, unchecked Transfer, wrong payee). Errors return ERROR and are never charged.

## Output

Returns a JSON object with a verdict field (NO_MATCH, WARN, BLOCK, or ERROR), an array of plain-language reason strings explaining the verdict, a risk_score from 0–100, a basis field indicating whether the check was simulated or static, a top_reason string, and a cryptographically signed receipt. Errors are always ERROR verdict and are never charged.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "tx": {
   "type": "string",
   "description": "Base64 wire transaction (also accepts an RPC getTransaction result)."
  },
  "caps": {
   "type": "object",
   "description": "Optional spend caps you declare; any violation returns BLOCK. Keys: max_amount (int base units per outflow), max_amounts ({mint|'SOL': int}), max_total (int per asset), allowed_payees ([pubkey]; owners' ATAs match), allowed_assets ([mint|'SOL']), allow_approvals (bool, default false)."
  },
  "quote": {
   "type": "object",
   "description": "x402 quote the tx pays: {asset, amount, pay_to | pay_to_token_account, decimals?, token_program?}."
  },
  "strict": {
   "type": "boolean",
   "description": "Escalate HIGH-risk token approvals (unlimited or third-party delegate) from WARN to BLOCK. Default false."
  },
  "wallet": {
   "type": "string",
   "description": "Your own pubkey; only this key is treated as 'you'."
  },
  "simulate": {
   "type": "boolean",
   "description": "Simulate against Solana mainnet (Helius RPC, sigVerify off, recent blockhash replaced, never submitted). Default true; false = static checks only. If simulation fails the verdict is at least WARN, except plain System/Token/ATA/ComputeBudget/Memo transactions with no unresolved lookup tables, which are fully decoded statically. Third-party unlimited approvals BLOCK by default. Response includes risk_score (0-100), basis (simulated|static) and top_reason."
  },
  "cap_base_units": {
   "type": "integer",
   "description": "Hard per-payment cap enforced even if the quote asks for more."
  },
  "known_addresses": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "maxItems": 200,
   "description": "Optional: pubkeys you have recently paid or received from. A recipient that only looks like one of these (same first/last characters) is flagged as address poisoning."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/falcon-shield-solana-transaction-guard-eda61899/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from falcon-shield.falcon-sol.workers.dev](https://www.zero.xyz/host/falcon-shield.falcon-sol.workers.dev/llms.txt)
