> ## 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.

# Introduction

> Professional MEV analytics for Solana traders and researchers

# Welcome to Blockline

Blockline is a professional MEV analytics API for Solana, providing deep insights into transaction context, front-running detection, and competitive intelligence for MEV teams and traders.

## What is Blockline?

Blockline, born from the soltop ecosystem, is a commercial-first product designed specifically for MEV analysis on Solana. It provides real-time and historical analysis of on-chain activity, helping you understand who traded before and after you, detect sandwich attacks, and gain competitive advantages in the MEV landscape.

## Key Features

<CardGroup cols={2}>
  <Card title="Front-Running Detection" icon="gauge-high">
    Analyze transactions within ±N slots of your trade to see who got in before
    you
  </Card>

  <Card title="Sandwich Attack Analysis" icon="burger">
    Detect MEV sandwich attacks by identifying matching signers before and after
    your transaction
  </Card>

  <Card title="PoH Tick Precision" icon="clock">
    Understand exact transaction ordering with Proof of History tick offsets
  </Card>

  <Card title="Transaction Context" icon="chart-network">
    See all market activity surrounding your trades with detailed metadata
  </Card>
</CardGroup>

## Quick Start

Get started with Blockline in three simple steps:

<Steps>
  <Step title="Get your API key">
    Sign up at [blockline.soltop.sh](https://blockline.soltop.sh) and generate
    your API key from the dashboard
  </Step>

  <Step title="Make your first request">
    Use your API key to analyze a transaction and see who competed with you
  </Step>

  <Step title="Explore use cases">
    Learn advanced patterns like sandwich detection and competitive analysis
  </Step>
</Steps>

<Card title="Start with the Quickstart Guide" icon="rocket" href="/quickstart">
  Follow our quickstart guide to make your first API call
</Card>

## Core Endpoints

<CardGroup cols={2}>
  <Card title="Analyze Trade Context" icon="magnifying-glass-chart" href="/api-reference/openapi#post-/analyze-trade">
    Find all transactions that touched your market within ±N slots
  </Card>

  <Card title="Get Transaction Details" icon="file-invoice" href="/api-reference/openapi#get-/transaction/{signature}">
    Retrieve detailed transaction information with validator metadata
  </Card>

  <Card title="Fetch Wallet Signatures" icon="wallet" href="/api-reference/openapi#post-/wallet/{address}/signatures">
    Get transaction history for any wallet with intelligent caching
  </Card>

  <Card title="Enhance Metadata" icon="sparkles" href="/api-reference/openapi#post-/enhance-metadata">
    Enrich transactions with balance changes and financial details
  </Card>
</CardGroup>

## Use Cases

Blockline is designed for:

* **MEV Teams**: Analyze competition, optimize strategies, detect attacks
* **Traders**: Understand market microstructure and transaction timing
* **Researchers**: Study MEV patterns and validator behavior
* **Developers**: Build MEV-aware trading applications

## Authentication

All endpoints require API key authentication. Your API key should be included in the `Authorization` header:

```bash theme={null}
curl -H "Authorization: Bearer sk_live_YOUR_API_KEY" \
  https://api.soltop.sh/transaction/SIGNATURE
```

Get your API key from the [Blockline Dashboard](https://blockline.soltop.sh/dashboard/api-keys).

## Need Help?

<CardGroup cols={2}>
  <Card title="API Reference" icon="book" href="/api-reference/openapi">
    Explore all endpoints and their parameters
  </Card>

  <Card title="Use Cases & Patterns" icon="lightbulb" href="/guides/use-cases">
    Learn how to detect front-running and sandwich attacks
  </Card>

  <Card title="Code Examples" icon="code" href="/guides/examples/javascript">
    See practical examples in JavaScript and Python
  </Card>

  <Card title="Dashboard" icon="gauge" href="https://blockline.soltop.sh">
    Manage your API keys and subscription
  </Card>
</CardGroup>
