{"slug":"rugshield-x402-fly-dev-v1-tx-guard-4878f8","title":"Solana transaction safety check before signing (pre-sign guard, wallet drainer d","host":"rugshield-x402.fly.dev","method":"POST","resource":"https://rugshield-x402.fly.dev/v1/tx-guard","category":"market","description":"Solana transaction safety check before signing (pre-sign guard, wallet drainer detection). Send the unsigned tx as base64; we simulate it on mainnet and return ALLOW, WARN or BLOCK with exact SOL and token balance changes and why: owner reassigned, unlimited approval, account closed to a third party","price_listed":0.01,"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":2,"reported_payers_30d":1,"networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"intent":{"max_sol_out":0.5},"signer":"<base58 pubkey, optional>","transaction":"<base64 unsigned transaction>"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"intent":{"description":"optional: max_sol_out, expected_mints_in, allowed_recipients","type":"object"},"signer":{"description":"wallet that will sign; defaults to the fee payer","type":"string"},"transaction":{"description":"unsigned Solana transaction, base64","type":"string"}},"required":["transaction"]},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Solana transaction safety check before signing (pre-sign guard, wallet drainer detection). Send the unsigned tx as base64; we simulate it on mainnet and return ALLOW, WARN or BLOCK with exact SOL and token balance changes and why: owner reassigned, unlimited approval, account closed to a third party, Token-2022 permanent delegate, SOL outflow above intent, swap output redirected. Solana only. 1,132 mainnet cases: 100% of attacks blocked, 0.13% false blocks, p95 1.0 s.","last_updated":"2026-09-25T02:52:33.681Z","schemes":["exact"]}