Network settings
Transactions on SPCX Chain use native SPCX for gas. Its parent network is Robinhood Chain, ID 4663.
- Network
- SPCX Chain Mainnet
- Chain ID
- 46630022 · 0x2c78486
- Gas currency
- SPCX · 18 decimals
- HTTPS RPC
https://rpc.spcxchain.network/
Read the chain
Use the root RPC directly from a terminal or client application.
Foundry
cast block-number --rpc-url https://rpc.spcxchain.network/JSON-RPC
curl https://rpc.spcxchain.network/ -H 'Content-Type: application/json' -d '{"jsonrpc":"2.0","id":1,"method":"eth_chainId","params":[]}'viem
import { createPublicClient, http } from 'viem'
const client = createPublicClient({
transport: http('https://rpc.spcxchain.network/')
})
console.log(await client.getBlockNumber())