Skip to main content
Every tool accepts an optional chainId. The default is Ethereum mainnet.
Pass chainId to list_strategies, get_strategy, get_prices, simulate_leverage, build_leverage_tx, build_manage_tx, and get_positions to target that chain. An unsupported chainId fails closed with a clear error rather than silently defaulting.
Position indices (id in get_positions / build_manage_tx) are per-chain — id 0 on Ethereum is a different position from id 0 on Robinhood. Each position’s positionId (${chainId}-${strategyId}-${id}) is globally unique.