Skip to main content
POST
/
mev
/
check-sandwich-fast
Check Sandwich Attack (Sync / Fast)
curl --request POST \
  --url https://api.soltop.sh/mev/check-sandwich-fast \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "signature": "48kLA6633tthDaBHTpzv9qXFkypFajpzyAd7hP8xRu8ggr8VhG5NXUKs7M2SYi57ntDKwPEqFgUGHrvXVd7pzFRE",
  "slot_range": 1
}
'
{
  "success": true,
  "data": {
    "results": [
      {
        "signature": "<string>",
        "found": true,
        "slot": 123,
        "poh_tick": "<string>",
        "signer": "<string>",
        "pools": [
          {
            "pool_address": "<string>",
            "pool_label": "<string>",
            "dex_name": "<string>"
          }
        ],
        "incidents": [
          {
            "attacker_signature": "<string>",
            "attacker_signer": "<string>",
            "slot": 123,
            "poh_tick": "<string>",
            "poh_tick_offset": "<string>",
            "interaction_type": "sandwich",
            "pool_address": "<string>",
            "pool_label": "<string>",
            "success": true
          }
        ],
        "sandwich_detected": true,
        "mev_score": 123,
        "success": true
      }
    ],
    "summary": {
      "total_checked": 123,
      "total_found": 123,
      "total_sandwich_attacks": 123,
      "total_frontrun_incidents": 123,
      "total_backrun_incidents": 123,
      "slot_range_used": 123
    }
  }
}

Authorizations

Authorization
string
header
required

Supabase JWT authentication. Used for MEV Analysis and Write Locks endpoints. Requires an active subscription (trial, active, or grace_period status).

Body

application/json
signature
string
required

Single transaction signature to check

Example:

"48kLA6633tthDaBHTpzv9qXFkypFajpzyAd7hP8xRu8ggr8VhG5NXUKs7M2SYi57ntDKwPEqFgUGHrvXVd7pzFRE"

slot_range
integer
default:1

Slot range (±) to search for attackers. 0 = intra-slot only. Max 10.

Required range: 0 <= x <= 10

Response

Sandwich check result returned directly

success
boolean
Example:

true

data
object