Todas las cadenas

Base

En vivoEVMhttpswss

Base está disponible en TheRPC bajo el endpoint unificado base.therpc.io/<YOUR_KEY>. El mismo esquema JSON-RPC que tu integración actual — solo cambia el host.

Prueba una llamada ahora

Solicitud en vivo a través del proxy de documentación de TheRPC. No se necesita clave API para esta demo.

curl https://base.therpc.io/YOUR_API_KEY \
-X POST \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"eth_blockNumber","params":[]}'

Redes

RedChain IDExplorerEndpoint
Mainnet0x2105basescan.orgbase.therpc.io
wallet_addEthereumChain
await window.ethereum.request({
method: 'wallet_addEthereumChain',
params: [{
chainId: '0x2105',
chainName: 'Base',
rpcUrls: ['https://base.therpc.io/<YOUR_KEY>'],
nativeCurrency: {
name: 'Ether',
symbol: 'ETH',
decimals: 18,
},
blockExplorerUrls: ['https://basescan.org'],
}],
});