Check a Solana transaction before signing: ALLOW, WARN or BLOCK with balance changes (x402)
Check an unsigned Solana transaction before signing. Send its base64 serialization; malformed input is rejected before payment. We simulate it on mainnet and return ALLOW, WARN or BLOCK with SOL and token balance changes and reasons, including dangerous approvals, owner changes, excessive outflows and redirected swaps. Solana only. The published sample is synthetic and only shows an HTTP 402 quote; replace it with a current unsigned transaction before paying.
Request
- Base URL: https://getrugshield.com (the document declares no server; this is the origin it was published from)
- URL: https://getrugshield.com/v1/tx-guard
- Auth: none declared
Headers
Canonical 43-character base64url encoding of 32 random bytes. Recommended on the first signed call and every retry for lost-response recovery; not required for the first inline paid result.
Echo the opaque job_id from an unpaid 503 on a ready signed retry if no Idempotency-Key was used. The same signed proof and exact request are required.
Request body
Response
Completed paid result with a recoverable job ID; the server confirmed settlement before sending.
Changes
No recorded changes to this operation across all 1 revision of this API.