API Reference
The searcher surface is gRPC, defined in Flowra's mev-protos
Public repo TBD
. The layout is compatible with the proto conventions most Solana MEV tooling already speaks, so existing client code ports with minimal changes.
AuthService (auth.proto)
Tokens are JWTs with explicit expiry timestamps. Attach the access token as gRPC bearer metadata on all other calls; refresh with the longer-lived refresh token rather than re-signing.
SearcherService (searcher.proto)
Bundle results (bundle.proto)
A submitted bundle moves through a explicit state machine, streamed via SubscribeBundleResults:
The two rejection types with bid values are your primary market-feedback signal; see Bundles.
Error semantics
Transport-level errors follow standard gRPC status codes:
INVALID_ARGUMENT responses carry a human-readable reason; log them verbatim.
Limits
Retry policy
On UNAVAILABLE: exponential backoff starting at 100 ms, doubling to a 5 s cap, with jitter. Do not tight-loop resubmit a rejected bundle; losing bundles already re-enter subsequent ticks automatically for a few seconds.
SDKs
Language SDKs (Rust, TypeScript, Python) wrapping auth, streaming, and submission are planned for GA
TBD
. Until then, the protos compile cleanly with standard tonic, grpc-js, and grpcio toolchains.