Skip to content

Berachain Flow

Comprehensive analytics and pool information for the Berachain ecosystem. This flow provides detailed insights into Berachain pools, including APR calculations, liquidity metrics, token details, and reward vault information - all formatted as clean markdown reports.

How to Use

Simple Commands

Send natural language commands to get Berachain pool information:

Pool Discovery:

  • "show berachain pools"
  • "berachain pools"
  • "berachain liquidity"

Yield Analysis:

  • "berachain apr"
  • "berachain yield"
  • "berachain farming"

Custom Queries:

  • "show berachain pools with limit=10 and orderBy=apr"
  • "show top 5 berachain pools by volume"
  • "berachain pool details for [pool_id]"

Configuration Requirements

Custom Prompt: Define your specific query parameters

  • No additional configurations needed
  • Simple natural language interface
  • Automatic markdown formatting

Input Examples

Top Pools by Liquidity

{
  "message": "show berachain pools",
  "variables": {
    "limit": 5,
    "orderBy": "totalLiquidity"
  }
}

Top Pools by APR

{
  "message": "show berachain pools with limit=10 and orderBy=apr",
  "variables": {
    "limit": 10,
    "orderBy": "apr"
  }
}

Specific Pool Details

{
  "message": "show berachain pool with id=0x7477eb941c6d87406c7661d5016da5f052d459e2000000000000000000000130",
  "variables": {
    "poolId": "0x7477eb941c6d87406c7661d5016da5f052d459e2000000000000000000000130"
  }
}

High Yield Opportunities

{
  "message": "berachain farming opportunities",
  "variables": {
    "minApr": 50,
    "orderBy": "apr",
    "limit": 15
  }
}

Output Examples

Pool Overview Report

# Berachain Pools (Top 5)
 
Sorted by: **totalLiquidity** (desc)
 
## 1. yBG-yBGT-iBGT-LBGT
 
- **ID:** 0x7477eb941c6d87406c7661d5016da5f052d459e2000000000000000000000130
- **Type:** Stable
- **Protocol Version:** 3
- **View on Berachain Hub:** [Open Pool](https://hub.berachain.com/pools/0x7477eb941c6d87406c7661d5016da5f052d459e2000000000000000000000130/details/)
 
### Tokens
 
| Symbol | Name | Balance | Balance USD |
|--------|------|---------|-------------|
| yBG | yBG | 0.9000 | $7.37 |
| yBGT | yBGT | 5.3000 | $41.66 |
| iBGT | iBGT | 0.4000 | $3.55 |
 
### Pool Metrics
 
- **Total Liquidity:** $52.50
- **24h Volume:** $253.97
- **24h Fees:** $0.43
 
### APR Details
 
- **Total APR:** 149.90%
 
| Type | APR |
|------|-----|
| Swap Fees | 45.20% |
| Rewards | 104.70% |
 
### Reward Vault
 
- **Vault Address:** 0xc9...e749
- **Staking Token:** 0x74...59e2
- **Whitelisted:** No
- **Active Incentives Value:** $0.00
- **Vault APR:** 0.00%
 
---
 
## 2. HONEY-USDC
 
- **ID:** 0x1234567890abcdef1234567890abcdef12345678000000000000000000000456
- **Type:** Weighted
- **Protocol Version:** 3
- **View on Berachain Hub:** [Open Pool](https://hub.berachain.com/pools/0x1234567890abcdef1234567890abcdef12345678000000000000000000000456/details/)
 
### Tokens
 
| Symbol | Name | Balance | Balance USD |
|--------|------|---------|-------------|
| HONEY | HONEY | 15,420.50 | $15,420.50 |
| USDC | USD Coin | 15,230.25 | $15,230.25 |
 
### Pool Metrics
 
- **Total Liquidity:** $30,650.75
- **24h Volume:** $1,250.40
- **24h Fees:** $3.75
 
### APR Details
 
- **Total APR:** 89.60%
 
| Type | APR |
|------|-----|
| Swap Fees | 25.30% |
| Rewards | 64.30% |

High APR Opportunities

# High Yield Berachain Opportunities
 
Found **8 pools** with APR > 50%
 
## Top Yield Farms
 
| Pool | APR | Liquidity | Vault APR |
|------|-----|-----------|-----------|
| yBG-yBGT-iBGT-LBGT | 149.90% | $52.50 | 0.00% |
| BGT-HONEY | 127.80% | $125.30 | 45.20% |
| USDC-WBERA | 98.50% | $2,340.75 | 32.10% |
| HONEY-WETH | 78.90% | $1,890.25 | 28.70% |
 
## Pool Details
 
### 1. yBG-yBGT-iBGT-LBGT (149.90% APR)
- **Liquidity:** $52.50
- **24h Volume:** $253.97
- **Fees APR:** 45.20%
- **Rewards APR:** 104.70%
- **[View Pool →](https://hub.berachain.com/pools/0x7477eb941c6d87406c7661d5016da5f052d459e2000000000000000000000130/details/)**

Specific Pool Analysis

# Pool Analysis: BGT-HONEY
 
## Pool Information
- **Pool ID:** 0xabcdef1234567890abcdef1234567890abcdef12000000000000000000000789
- **Type:** Weighted (80/20)
- **Protocol Version:** 3
 
## Token Composition
 
| Token | Weight | Balance | USD Value | Price |
|-------|--------|---------|-----------|-------|
| BGT | 80% | 1,250.75 | $9,850.25 | $7.88 |
| HONEY | 20% | 2,450.50 | $2,450.50 | $1.00 |
 
## Performance Metrics
 
- **Total Liquidity:** $12,300.75
- **24h Volume:** $850.40
- **24h Fees:** $2.55
- **Volume/Liquidity Ratio:** 6.91%
 
## Yield Breakdown
 
- **Total APR:** 127.80%
  - **Swap Fees APR:** 32.50%
  - **BGT Rewards APR:** 95.30%
 
## Reward Vault Details
 
- **Vault Address:** 0xdef456...789abc
- **Staking Token:** BGT-HONEY LP
- **Whitelisted:** Yes ✅
- **Active Incentives:** $1,250.75
- **Vault APR:** 45.20%
 
## Risk Assessment
 
- **Impermanent Loss Risk:** Medium (correlated assets)
- **Liquidity Risk:** Low (established pool)
- **Smart Contract Risk:** Low (audited protocol)
 
**[Trade on Berachain Hub →](https://hub.berachain.com/pools/0xabcdef1234567890abcdef1234567890abcdef12000000000000000000000789/details/)**

Supported Query Types

Pool Discovery

  • All Pools: Get comprehensive list of all available pools
  • Top Pools: Filtered by liquidity, volume, APR, or fees
  • Pool Search: Find specific pools by token pairs or IDs

Metrics & Analytics

  • Liquidity Analysis: Total value locked and distribution
  • Volume Tracking: 24h trading volume and trends
  • Fee Collection: Daily fees and APR calculations
  • APR Breakdown: Detailed yield sources and calculations

Reward Information

  • Vault Details: Staking rewards and incentive programs
  • BGT Rewards: Native token reward calculations
  • Incentive Tracking: Active reward programs and rates

Sorting Options

Available Sort Parameters:

  • totalLiquidity - Total value locked in the pool
  • apr - Annual percentage rate (total yield)
  • volume24h - 24-hour trading volume
  • fees24h - 24-hour collected fees
  • swapFeeApr - APR from trading fees only
  • rewardsApr - APR from reward incentives

Example Sorting Commands:

"show berachain pools sorted by volume"
"top 10 berachain pools by apr"
"berachain pools with highest liquidity"

Integration Features

Berachain Hub Links

  • Direct links to view pools on official Berachain Hub
  • Deep links to specific pool details and trading interfaces
  • Integration with Berachain's official pool analytics

Real-time Data

  • Live pool metrics and pricing
  • Current APR calculations
  • Up-to-date reward vault information
  • Fresh liquidity and volume data

Markdown Formatting

  • Clean, readable reports
  • Structured tables and sections
  • Easy copy-paste for documentation
  • Compatible with all markdown renderers

Technical Implementation Details

Data Sources

  • Berachain Plugin: Official Berachain API integration
  • Pool Methods: getPools() and getPool() for comprehensive data
  • Real-time Updates: Live blockchain data synchronization

Output Processing

  • Markdown Generation: Structured report formatting
  • Data Aggregation: Multi-pool analysis and comparison
  • URL Generation: Dynamic Berachain Hub links
  • Error Handling: Graceful handling of missing or invalid pool data

Performance Features

  • Efficient Queries: Optimized API calls for fast response
  • Caching: Smart caching for frequently requested data
  • Pagination: Handle large pool datasets efficiently
  • Rate Limiting: Respectful API usage patterns

This flow provides comprehensive Berachain ecosystem insights through simple natural language commands, delivering professional-grade analytics in an accessible markdown format.