# Robinhood Chain - Market SQL

> Robinhood Chain token metadata and decoded Uniswap v3/v4, Doppler, Flap, LetsCash, Long, Nox, Noxa, Pons, and Varo launchpad activity.

The **Robinhood Chain** dataset provides token launches, bonding-curve trading, migrations, Uniswap v3 and v4 pools and trades, and related token metadata.

| Property | Value |
| --- | --- |
| Database name | `robinhood` |
| Tables | 25 |
| Access | Subscribed to separately |

### Tables

| Table | Description |
| --- | --- |
| `doppler_creations` | Doppler launch and pool creation events with assets, initializer, fees and token metadata. |
| `doppler_trading` | Query-time view of decoded Doppler pool trading activity. |
| `flap_creations` | Flap token and launch creation events with creator and transaction context. |
| `flap_curve_trades` | Flap bonding-curve trades with amounts, direction, curve state and fees. |
| `flap_migrations` | Flap liquidity and token migration events. |
| `flap_trading` | Query-time view of consolidated Flap trading activity. |
| `letscash_creations` | LetsCash token and launch creation events. |
| `letscash_trading` | Query-time view of decoded LetsCash trading activity. |
| `long_creations` | Long launchpad token creation events. |
| `long_trading` | Query-time view of decoded Long launchpad trading activity. |
| `nox_creations` | Nox token and launch creation events. |
| `nox_trading` | Query-time view of decoded Nox trading activity. |
| `noxa_creations` | Noxa token and launch creation events. |
| `noxa_trading` | Query-time view of decoded Noxa trading activity. |
| `pons_creations` | Pons token and bonding-curve creation events. |
| `pons_curve_trades` | Pons bonding-curve trades with amounts, direction, curve state and transaction context. |
| `pons_migrations` | Pons token and liquidity migration events. |
| `pons_trading` | Query-time view of consolidated Pons trading activity. |
| `tokens` | ERC-20 identities with descriptive metadata, creator and creation context. |
| `uniswap_v3_pools` | Uniswap v3 token pairs with pool address, fee tier and tick spacing. |
| `uniswap_v3_trades` | Uniswap v3 swaps with amounts, price, liquidity, tick, gas and transaction context. |
| `uniswap_v4_pools` | Uniswap v4 currencies, fees, hooks and initial pool state. |
| `uniswap_v4_trades` | Uniswap v4 swaps with amounts, fees, price, liquidity, tick, gas and transaction context. |
| `varo_creations` | Varo token and launch creation events. |
| `varo_trading` | Query-time view of decoded Varo trading activity. |

### Example request

#### cURL

```bash
curl --fail-with-body \
  --user "<USER-ID>:<API-KEY>" \
  "https://market-sql.eu-central-1.getblock.io?database=robinhood&default_format=JSONEachRow" \
  --data-binary "SELECT * FROM uniswap_v4_trades LIMIT 5"
```

#### Javascript

```js
import { createClient } from '@clickhouse/client'

const client = createClient({
  host: 'https://market-sql.eu-central-1.getblock.io',
  username: process.env.GETBLOCK_USER_ID,
  password: process.env.GETBLOCK_API_KEY,
  database: 'robinhood'
})

const rows = await client.query({
  query: 'SELECT * FROM uniswap_v4_trades LIMIT 5',
  format: 'JSONEachRow'
})

console.log(await rows.json())
```

#### Python

```python
import os
import requests

response = requests.post(
    "https://market-sql.eu-central-1.getblock.io",
    params={"database": "robinhood", "default_format": "JSONEachRow"},
    auth=(os.environ["GETBLOCK_USER_ID"], os.environ["GETBLOCK_API_KEY"]),
    data="SELECT * FROM uniswap_v4_trades LIMIT 5",
    timeout=60,
)
response.raise_for_status()
print(response.text)
```

#### GO

```go
package main

import (
	"crypto/tls"
	"fmt"
	"log"
	"os"

	"github.com/ClickHouse/clickhouse-go/v2"
)

func main() {
	db := clickhouse.OpenDB(&clickhouse.Options{
		Addr:     []string{"market-sql.eu-central-1.getblock.io:443"},
		Protocol: clickhouse.HTTP,
		TLS:      &tls.Config{},
		Auth: clickhouse.Auth{
			Database: "robinhood",
			Username: os.Getenv("GETBLOCK_USER_ID"),
			Password: os.Getenv("GETBLOCK_API_KEY"),
		},
	})
	defer db.Close()

	rows, err := db.Query("SELECT * FROM uniswap_v4_trades LIMIT 5")
	if err != nil {
		log.Fatal(err)
	}
	defer rows.Close()

	for rows.Next() {
		var blockTime, direction, baseToken, quoteToken any
		if err := rows.Scan(&blockTime, &direction, &baseToken, &quoteToken); err != nil {
			log.Fatal(err)
		}
		fmt.Println(blockTime, direction, baseToken, quoteToken)
	}
	if err := rows.Err(); err != nil {
		log.Fatal(err)
	}
}
```

#### Rust

```rs
use clickhouse::Client;
use std::env;
use tokio::io::AsyncBufReadExt;

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let client = Client::default()
        .with_url("https://market-sql.eu-central-1.getblock.io:443")
        .with_user(env::var("GETBLOCK_USER_ID")?)
        .with_password(env::var("GETBLOCK_API_KEY")?)
        .with_database("robinhood");

    let mut lines = client
        .query("SELECT * FROM uniswap_v4_trades LIMIT 5")
        .fetch_bytes("JSONEachRow")?
        .lines();

    while let Some(line) = lines.next_line().await? {
        println!("{line}");
    }

    Ok(())
}
```

### Response Sample

```bash
{
    "pool_id": "0xdb2c20421239d46bb30a7a73029b7f9b7f166489bfb972057d33cbd7249413a5",
    "sender": "0x53bf6b0684ec7ef91e1387da3d1a1769bc5a6f77",
    "amount0": 49997492603174,
    "amount1": -1000000000000000000,
    "sqrt_price_x96": 1579888788696945134562238999968156,
    "liquidity": 50000000000000,
    "tick": 198020,
    "fee": 3000,
    "event_id": "0x16a7f8e5dedb48adcc107489db7b4bee202ed28f4117be185322fdaf09294d20-0",
    "block_number": 9507,
    "log_index": 0,
    "transaction_index": 1,
    "contract_address": "0x8366a39cc670b4001a1121b8f6a443a643e40951",
    "block_hash": "0x10a35beefa196065fa31cf332847d62b54c7f373d27d84b4fa9788bdba53b00a",
    "block_timestamp": "2026-05-22 21:15:34",
    "gas_used": 219766,
    "gas_limit": 1125899906842624,
    "base_fee_per_gas": 100010000,
    "transaction_hash": "0x16a7f8e5dedb48adcc107489db7b4bee202ed28f4117be185322fdaf09294d20",
    "transaction_from": "0x9701fb0ade1e269c8f64ec0c7b3cfadb31a13a52",
    "transaction_to": "0x53bf6b0684ec7ef91e1387da3d1a1769bc5a6f77",
    "transaction_value": 0,
    "transaction_gas": 286997,
    "transaction_nonce": 45,
    "max_fee_per_gas": 200320001,
    "max_priority_fee_per_gas": 1,
    "inserted_at": "2026-08-05 07:30:10"
}
```

## Next steps

* [**API Reference**](/market-sql/api-reference/) — endpoint, authentication, and limits
* [**Querying Market SQL**](/market-sql/querying-market-sql/) — datasets, queries, and result formats
