API Reference
Build on an Open Network
RPC Endpoints
Mainnet
Type
Endpoint
Testnet
Type
Endpoint
JSON-RPC API
Example — Get Latest Block Number
curl -X POST https://rpc.dotone.network \
-H "Content-Type: application/json" \
--data '{
"jsonrpc": "2.0",
"method": "eth_blockNumber",
"params": [],
"id": 1
}'Example — Get Transaction by Hash
Example — Get Wallet Balance
WebSocket API
Connect
Subscribe to New Block Headers
Subscribe to Pending Transactions
Subscribe to Contract Logs
Explorer API
Common Endpoints
Supported Libraries
Library
Language
Usage
Connect with ethers.js
Connect with web3.py
Rate Limits
Further Reference
Last updated
Was this helpful?