Api Endpoint

RugShield Solana Tx Guard

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.

Open interactive test console

Offering

Provider
getrugshield.com
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://getrugshield.com/v1/tx-guard
MIME type
Not provided
First seen
2026-10-16T01:51:30.109Z
Last seen
Tags
Solana, pre-sign, transaction-simulation, wallet-drainer, Security

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.01 USDC
Atomic price: 10000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "payTo": "0x97a5667082EfBA1964437E1aB62f7779DEc45e1F"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "10000",
    "payTo": "HtuDjVom8YTXgX9szPSCKkSj28sFfuE2qvZh5fTuik5g"
  }
]

Observed health

Status
Reachable
Latest latency
24 ms
Average latency
33 ms
HTTP status
405
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "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": "Your real unsigned Solana transaction serialized as base64; invalid input is rejected before payment",
          "type": "string"
        }
      },
      "required": [
        "transaction"
      ]
    },
    "bodyType": {
      "enum": [
        "json",
        "form-data",
        "text"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "POST"
      ],
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

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": "Your real unsigned Solana transaction serialized as base64; invalid input is rejected before payment",
              "type": "string"
            }
          },
          "required": [
            "transaction"
          ]
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}