Todas las cadenas

BNB Smart Chain

En vivoEVMhttpswss

BNB Smart Chain está disponible en TheRPC bajo el endpoint unificado bsc.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://bsc.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
Mainnet0x38bscscan.combsc.therpc.io
wallet_addEthereumChain
await window.ethereum.request({
method: 'wallet_addEthereumChain',
params: [{
chainId: '0x38',
chainName: 'BNB Smart Chain',
rpcUrls: ['https://bsc.therpc.io/<YOUR_KEY>'],
nativeCurrency: {
name: 'BNB',
symbol: 'BNB',
decimals: 18,
},
blockExplorerUrls: ['https://bscscan.com'],
}],
});