EVM JSON-RPC
Ethereum-Compatible API for Goliath Network
🌐 Overview
Key Features
Endpoints
Network
HTTP Endpoint
WebSocket Endpoint
🔧 Quick Start
Using curl
Using Web3.js
Using Ethers.js
📚 Core Methods
Network Information
eth_chainId
net_version
Block Methods
eth_blockNumber
eth_getBlockByNumber
eth_getBlockByHash
Account Methods
eth_getBalance
eth_getTransactionCount
eth_getCode
Transaction Methods
eth_sendRawTransaction
eth_getTransactionByHash
eth_getTransactionReceipt
Smart Contract Methods
eth_call
eth_estimateGas
Gas and Fee Methods
eth_gasPrice
eth_maxPriorityFeePerGas
Event and Log Methods
eth_getLogs
eth_newFilter
🌐 WebSocket Subscriptions
Subscribing to Events
Subscription Types
Type
Description
⛽ Gas Optimization
Gas Price Recommendations
Priority
Gas Price
Confirmation Time
Gas Limits
Operation
Gas Limit
Cost (XCN)
🔒 Rate Limits
Public Endpoints
Limit Type
Value
Enterprise Limits
🆘 Error Codes
Code
Message
Description
📚 Advanced Features
Batch Requests
Custom RPC Methods
Method
Description
🔧 Integration Examples
MetaMask Configuration
Hardhat Configuration
🎯 Best Practices
Connection Management
Error Handling
📚 Additional Resources
🤝 Support
Last updated