For the complete documentation index, see llms.txt. This page is also available as Markdown.

Sandwich Detector

Introduction

Sandwich Detector provides projects(e.g. wallet, DEX, and trading bot) with a sandwich attack monitoring service for Solana transactions. Users can subscribe to the sandwich attack transaction information on Solana in real time based on gRPC. The endpoint is: solana.sandwich-detector.blockrazor.me:443

Plan

Tier 4
Tier 3
Tier 2
Tier 1
Tier 0

Sandwich Detector

-

-

-

-

The Sandwich Detector service will open a whitelist to projects(e.g. wallet, DEX, and trading bot) subscribing to Tier 0 plan, who can monitor the sandwich attack information on Solana in real time. Please contact us after subscribing to the Tier 0 plan.

Request Parameters

Parameters
Mandatory
Format
Example
Remarks

signer

optional

String

"6yf14f……iwPZ3V"

Filtering sandwich transactions by the originator’s account address

relevantProgramId

optional

String

"CAMMCz……KgrWqK"

Filter sandwich transactions by the programId that the attacked transaction has been interacted with

Request Example

# without filter
grpcurl -plaintext=false -import-path /path/to/proto -proto solstream.proto -d ''  solana.sandwich-detector.blockrazor.me:443 solstream.TxStreamService/SubscribeTxStream
# with filter
grpcurl -plaintext=false -import-path /path/to/proto -proto solstream.proto -d '{"relevantProgramId":"aa..bb"}'  solana.sandwich-detector.blockrazor.me:443 solstream.TxStreamService/SubscribeTxStream

Proto

Response Example

Last updated

Was this helpful?