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
}
}
}Synchronous sandwich check for a single transaction. Returns the result directly with no job queue or polling required. Uses tighter parameters for speed: ±1 min timestamp window (vs ±5 min), max ±10 slot range. Ideal for quick single-transaction lookups. Results are cached for 5 minutes.
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
}
}
}Supabase JWT authentication. Used for MEV Analysis and Write Locks endpoints. Requires an active subscription (trial, active, or grace_period status).