{"slug":"www-oracleinsight-xyz-api-v1-safety-pre-trade-325740","title":"Pre-trade safety check","host":"www.oracleinsight.xyz","method":"GET","resource":"https://www.oracleinsight.xyz/api/v1/safety/pre-trade","category":"other","description":"Pre-trade safety check: oracle-immune-system verdict for one trade, with verifiable EIP-712 attestation support. BLOCK verdicts are complete checks and are charged.","price_listed":0.02,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":5,"reported_payers_30d":3,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"action":"swap","asset":"ETH","chainId":1,"tradeAmountUsd":1000},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"action":{"description":"Type of DeFi operation","enum":["swap","borrow","lend","liquidate","repay"],"type":"string"},"asset":{"description":"Asset symbol, e.g. ETH, BTC, USDC","type":"string"},"chainId":{"description":"Chain ID, e.g. 1=Ethereum, 0=chain-agnostic","type":"number"},"destinationAsset":{"description":"Optional destination asset symbol (v2 binds it as destinationAssetId)","type":"string"},"protocolId":{"description":"Optional lending protocol id to evaluate against (e.g. aave-v3-ethereum)","type":"string"},"schemaVersion":{"description":"Attestation schema version: 1 (default, 11-field), 2 (26-field, CAIP-19 + quorum gate), or 3 (27-field: v2 + the signed independence threshold, so the gate is self-verifying)","enum":[1,2,3],"type":"number"},"targetProviders":{"description":"Comma-separated list of oracle providers to restrict the check to","type":"string"},"tradeAmountUsd":{"description":"Trade size in USD","type":"number"}},"required":["asset","chainId","action","tradeAmountUsd"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Pre-trade safety check: oracle-immune-system verdict for one trade, with verifiable EIP-712 attestation support. BLOCK verdicts are complete checks and are charged.","last_updated":"2026-10-09T15:39:32.964Z","schemes":["exact"]}