TriportRPC

Robinhood Chain config generator

Last updated:

Network values

Robinhood Chain mainnet connection values
Network nameRobinhood Chain
Chain ID4663 (0x1237)
Currency symbolETH
RPC URL (header auth)https://triport.io/rpc/robinhood
RPC URL (keyed, for wallets and config files)https://triport.io/r/<API_KEY>/robinhood
WebSocket URL (keyed)wss://triport.io/ws/robinhood/<API_KEY>
Block explorerhttps://robinhoodchain.blockscout.com

Generate your config

MetaMask

{
  "method": "wallet_addEthereumChain",
  "params": [{
    "chainId": "0x1237",
    "chainName": "Robinhood Chain",
    "nativeCurrency": { "name": "ETH", "symbol": "ETH", "decimals": 18 },
    "rpcUrls": ["https://triport.io/r/<API_KEY>/robinhood"],
    "blockExplorerUrls": ["https://robinhoodchain.blockscout.com"]
  }]
}

viem

import { createPublicClient, defineChain, http } from "viem";

export const robinhood = defineChain({
  id: 4663,
  name: "Robinhood Chain",
  nativeCurrency: { name: "ETH", symbol: "ETH", decimals: 18 },
  rpcUrls: { default: { http: ["https://triport.io/r/<API_KEY>/robinhood"], webSocket: ["wss://triport.io/ws/robinhood/<API_KEY>"] } },
  blockExplorers: { default: { name: "Blockscout", url: "https://robinhoodchain.blockscout.com" } },
});

export const client = createPublicClient({ chain: robinhood, transport: http() });

ethers v6

import { JsonRpcProvider, Network } from "ethers";

const network = Network.from({ name: "robinhood", chainId: 4663 });
export const provider = new JsonRpcProvider("https://triport.io/r/<API_KEY>/robinhood", network, { staticNetwork: network });

Hardhat

// hardhat.config.ts
export default {
  networks: {
    robinhood: { url: "https://triport.io/r/<API_KEY>/robinhood", chainId: 4663 },
  },
};

Foundry

# foundry.toml
[rpc_endpoints]
robinhood = "https://triport.io/r/<API_KEY>/robinhood"

wagmi

import { createConfig, http } from "wagmi";
import { robinhood } from "./robinhood-chain";

export const config = createConfig({
  chains: [robinhood],
  transports: { [robinhood.id]: http("https://triport.io/r/<API_KEY>/robinhood") },
});

curl (header auth)

curl https://triport.io/rpc/robinhood \
  -H "x-token: <API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"eth_chainId","params":[]}'

Keys in URLs vs headers

A keyed URL is the same credential as a header, in a less private place: it lands in shell history, CI logs and screenshots. Use it only where a header is impossible (wallets, hardhat.config, foundry.toml), send x-token from server code, and rotate a key that leaked.

Verify the connection

Call eth_chainId first: it must return 0x1237. Wallets reject a network whose chain ID disagrees with the configured value, so this one call explains most could not add network errors. Then read the quickstart for the first real request.

FAQ

How do I add Robinhood Chain to MetaMask?
Use chain ID 4663 (0x1237), currency ETH, the Triport RPC URL in its keyed form and the Blockscout explorer. The MetaMask tab above produces the exact wallet_addEthereumChain payload.
Why does the RPC URL contain my key instead of a header?
Wallets, hardhat.config and foundry.toml cannot send a custom header, so they use the keyed URL form. Server-side code should send the x-token header instead and keep keys out of URLs and logs.
Is my key sent to Triport when I use this page?
No. The snippets are generated in your browser: the key is never submitted, never stored and never written into the page URL, which is why this tool has no shareable link.
Does this work for the Robinhood testnet?
No. Testnet chain 46630 exists publicly, but Triport publishes mainnet (4663) only — point test work at the network's own testnet endpoint.