Skip to main content

Crate robinhood_chain

Crate robinhood_chain 

Source
Expand description

§robinhood-chain — Robinhood Chain SDK for Rust

EVM-native on-chain trading intelligence for Robinhood Chain (chain id 4663): live KOL trades, token discovery & launch-bundle detection, deployer reputation, smart-money wallet ranking, OHLC candles, and the DEX trade tape — all from our self-hosted node.

Robinhood Chain is an Arbitrum Orbit L2, so every field is EVM-native: token_address (lowercase 0x…), eth_amount, tx_hash, block_number, net_flow_eth. There are no Solana field names here.

§Get an API key

Robinhood Chain coverage is bundled into every MadeOnSol tier at no extra cost — same msk_ key, same base URL. Get a free key at https://madeonsol.com/pricing. Paid tiers (PRO / ULTRA) unlock the DEX trade tape, token discovery, candles, KOL-consensus, alpha-wallet ranking, and WebSocket streaming — and new customers get a 3-day free trial of Pro or Ultra when paying by card. See https://madeonsol.com/pricing.

§Quick start

use robinhood_chain::{RobinhoodChain, types::KolFeedParams};

let api_key = std::env::var("MADEONSOL_API_KEY")?;
let client = RobinhoodChain::new(api_key)?;

let feed = client
    .kol
    .feed(&KolFeedParams { limit: Some(10), ..Default::default() })
    .await?;

for trade in feed.trades {
    println!("{:?} {:?} {:?} ({} ETH)",
        trade.kol_name, trade.action, trade.token_symbol,
        trade.eth_amount.unwrap_or(0.0));
}

§Namespaces

  • RobinhoodChain::kol — KOL feed, leaderboard, consensus hot-tokens, coordination, first-touches, single-KOL profile, plus the coordination-alert (PRO+) and first-touch-subscription (ULTRA+) rule engines
  • RobinhoodChain::trades — the DEX trade tape (PRO+) + the liquidity-removals feed lp_events (PRO+, removals only)
  • RobinhoodChain::tokens — token discovery, beacon-verified tokenized equities, per-token snapshot, candles, KOL-consensus, buyer-quality, bundle, batch reads
  • RobinhoodChain::deployer_hunter — deployer reputation: leaderboard, profile, trajectory, launch history, best-tokens, stats, alerts, recent graduations
  • RobinhoodChain::alpha_wallets — smart-money wallet ranking (PRO+)
  • RobinhoodChain::wallet — wallet profile, FIFO PnL, positions, tape, watchlist (PRO+)
  • RobinhoodChain::copytrade — copy-trade rules + fired-signal history (PRO+)
  • RobinhoodChain::price_alerts — price alerts + dip/recovery events (PRO+)
  • RobinhoodChain::stream — WebSocket streaming token issuance + the six rhc:* channels (rhc:kol_trades, rhc:dex_trades (ULTRA+), and the four rule-engine channels)

§Push rule engines

Four rule engines turn the read endpoints into push: copy-trade, price alerts, KOL coordination and KOL first-touches. Each rule delivers by webhook (HMAC-SHA256 signed), WebSocket, or both, and each keeps a queryable fire history for catch-up after a missed delivery.

⚠️ Quotas are PER CHAIN — a full set of Solana rules does not consume any Robinhood Chain capacity. Two RHC-specific differences worth knowing before you port Solana code: RHC price alerts are ~15s polled, not sub-second, and RHC copy-trade rules have no market-cap band.

Full API reference: https://madeonsol.com/api-docs · Robinhood Chain overview: https://madeonsol.com/robinhood

Re-exports§

pub use crate::error::RobinhoodChainError as Error;

Modules§

api
error
types
Request and response types for every Robinhood Chain endpoint.

Structs§

RobinhoodChain
Robinhood Chain API client.