Skip to main content
POST
/
mev
/
check-sandwich
Check Sandwich Attacks (Async)
curl --request POST \
  --url https://api.soltop.sh/mev/check-sandwich \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "signatures": [
    "48kLA6633tthDaBHTpzv9qXFkypFajpzyAd7hP8xRu8ggr8VhG5NXUKs7M2SYi57ntDKwPEqFgUGHrvXVd7pzFRE"
  ],
  "slot_range": 20
}
'
{
  "success": true,
  "jobId": "mev-sandwich-check-abc123-1773915254896",
  "status": "queued",
  "message": "Sandwich check started. Poll /mev/job-status/:jobId for updates."
}

Documentation Index

Fetch the complete documentation index at: https://docs.blockline.sh/llms.txt

Use this file to discover all available pages before exploring further.

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
signatures
required

Single transaction signature

Example:
[
"48kLA6633tthDaBHTpzv9qXFkypFajpzyAd7hP8xRu8ggr8VhG5NXUKs7M2SYi57ntDKwPEqFgUGHrvXVd7pzFRE"
]
slot_range
integer
default:20

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

Required range: 0 <= x <= 1000

Response

Job submitted or cached result returned

Job queued

success
boolean
Example:

true

jobId
string
Example:

"mev-sandwich-check-abc123-1773915254896"

status
string
Example:

"queued"

message
string
Example:

"Sandwich check started. Poll /mev/job-status/:jobId for updates."