Playground
RPC playground
Pick a network, then run real JSON-RPC methods against a live dRPC endpoint — with copyable endpoints and ready-to-paste viem / ethers / web3 snippets.
EthereumEVMChain ID 1
Connect
Quickstart
Authenticated endpointRecommended
https://lb.drpc.org/ogrpc?network=ethereum&dkey=YOUR_DRPC_KEYPublic endpointFree · rate-limited
https://eth.drpc.orgviem
import { createPublicClient, http } from 'viem'
const client = createPublicClient({
transport: http('https://lb.drpc.org/ogrpc?network=ethereum&dkey=YOUR_DRPC_KEY'),
})
const block = await client.getBlockNumber()Run
Live method playground
Latest block number20 CU
No parameters required.
Response
Run a method to see the JSON response.
Export code
viem
const res = await client.request({
method: 'eth_blockNumber',
params: [],
})Every method costs a flat 20 CU · $0.30 per 1M CU.
eth_blockNumberLatest block number20 CU
eth_getBalanceAccount balance at a block20 CU
eth_callRead-only contract call20 CU
eth_getLogsEvent logs matching a filter20 CU
eth_getTransactionReceiptReceipt for a transaction hash20 CU
eth_gasPriceCurrent gas price in wei20 CU