# Strale Web3 Pre-Transaction Gate

> Strale Web3 Pre-Transaction Gate is a paid API for AI agents from api.strale.io, paid per call via x402, $0.162/call, status unknown (last checked 2026-09-15).

Performs compliance screening and sanctions checks on a wallet address before a Web3 transaction, returning structured validation results with audit trail.

## Facts

- Endpoint: POST https://api.strale.io/x402/solutions/web3-pre-tx-gate
- Price: $0.162/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/strale-web3-pre-transaction-gate-47a26681
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QUqeC2WRwRjkx7dxzbwYe

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 strale-web3-pre-transaction-gate-47a26681 -d '<json body>'
```

Example prompt: Before I send tokens to wallet 0xAbC123...def on Ethereum mainnet (chain ID 1), run a pre-transaction compliance and sanctions check on it — the entity is called 'Acme Trading Ltd'.

## When to prefer this

Use this endpoint when an AI agent needs to perform a compliance or sanctions check on a counterparty wallet address before executing a Web3 transaction, especially when an audit trail is required. Prefer this over generic blockchain explorers when regulatory compliance, AML screening, or pre-transaction gating is the primary concern.

## Known failure modes

- Invalid or malformed wallet address returns validation error
- Unsupported chain ID returns error indicating chain not supported
- Sanctions data provider unavailable causes timeout or 503
- Missing required wallet_address field returns 400 bad request
- Ambiguous entity name may produce inconclusive screening result

## How this service works

Should your agent execute this transaction? Single-call go/no-go middleware for DeFi agents. Checks wallet risk, token safety, approval security, current gas costs, and sanctions status. Returns a risk verdict.

## Output

Returns a structured JSON object with compliance status, sanctions screening result, audit trail entries, and any flagged risk indicators for the given wallet address and optional entity name or contract.

## Example request

```json
{
 "chain_id": "1",
 "entity_name": "Test Trading Entity",
 "wallet_address": "0x742d35Cc6634C0532925a3b844Bc9e7595f42bE5",
 "contract_address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain_id": {
   "type": "string",
   "description": "Chain ID, default 1"
  },
  "entity_name": {
   "type": "string",
   "description": "Entity name for sanctions check"
  },
  "wallet_address": {
   "type": "string",
   "description": "Counterparty or target wallet address"
  },
  "contract_address": {
   "type": "string",
   "description": "Token contract if relevant"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/strale-web3-pre-transaction-gate-47a26681/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.strale.io](https://www.zero.xyz/host/api.strale.io/llms.txt)
