Cronos EVM Docs
  • Getting Started
    • Getting Started
    • Background
    • Architecture
    • Cronos roadmap
  • FOR USERS
    • 💳Crypto.com Card Top Up
    • 🔥Crypto Wallets
    • 🦊MetaMask Configuration
    • 🦁Brave Wallet
    • 🌉Bridges
      • From the Crypto.com App and Exchange
        • From the Crypto.com App
        • From the Crypto.com Exchange
      • IBC (Cronos POS Chain, other Cosmos chains)
        • Cronos Bridge Web App
      • Independent bridges
      • FAQs for Bridge transfers
      • FAQs for transactions from/to centralized exchanges
    • 🚰Testnet Faucet
    • 💡Tips & FAQs
    • 👮Key Principles for Wallet Security
    • GasTracker
  • FOR DAPP DEVELOPERS
    • 💡Founder FAQs
    • 🏅Hacker's Getting Started Resources
    • 📃Smart Contracts
      • Contract Development on Testnet
      • Contract Deployment and Verification
      • Contract Verification Export: Cronoscan To Cronos Explorer
      • Best Practices
      • Token Contract Addresses
    • 💻dApp Creation
      • Free and commercial RPC endpoints
      • Wallet integrations
      • Web3-wallet
      • JSON-RPC methods
      • Address Conversion
      • Swagger Playground
    • ⚙️Dev Tools & Integrations
      • All dev tools & integrations
      • Account Abstraction
      • Band Protocol
      • Banxa
      • GoldRush
      • Cronos Safe
      • Flair
      • Google Bigquery
      • Moralis
      • Pyth
      • Secret Network
      • SubQuery
      • Witnet
    • Crypto.com AI Agent SDK
  • FOR NODE HOSTS
    • Running nodes
      • Cronos Mainnet
        • Quicksync
        • State-sync
        • Public Node Sync
        • KSYNC
        • The "Huygen" upgrade guide (v0.6.* to v0.7.*)
        • The "v0.7.0-hotfix" upgrade guide (v0.7.* to v0.8.*)
        • The "Galileo" upgrade guide (v0.8.* to v1.0.*)
        • The "Titan" upgrade guide (v1.0.* to v1.1.0)
        • The "v1.2" upgrade guide (v1.1.* to v1.2.0)
        • The "v1.3" upgrade guide (v1.2.* to v1.3.0)
        • The "v1.4" Pallene upgrade guide (v1.3.* to v1.4.1)
        • Patching Unlucky & Duplicate Tx
      • Cronos Testnet
      • Devnet
      • Best Practices
      • Cronosd build with Nix
      • VersionDB
      • MemIAVL
      • Local State Sync
    • Cronosd
  • CRONOS PLAY
    • Introduction
    • Unity Engine
      • Current Version
      • Legacy Version
        • EVM
        • Login Example
        • Custom RPC
        • ERC20
        • ERC721
        • ERC1155
      • Useful Links
    • Unreal Engine
      • Installation and Enabling
      • Working with Blueprint
        • Actors and Blueprint Classes
        • Cronos Configuration
        • Connect Defi Desktop/Onchain Wallet with URI
        • Connect Wallets with QR Code
        • Connect WalletConnect Step by Step
        • WalletConnect 2.0 and Unreal Engine 5: Hello World Example
        • Wallet
        • ERC20
        • ERC721
        • ERC1155
        • Broadcast Transactions
        • Get Tokens or Transactions
      • Working with C++
        • Creating a C++ Project
        • Creating a child DefiWalletCoreActor
        • Querying a contract
        • Customizing Network
      • Demo
    • Cronos Play C++ SDK
    • Crypto.com Pay Integration
    • Cronos Play FAQ
  • Block Explorers
    • Block Explorer and API Keys
    • Cronos Explorer
    • Cronoscan
  • CRONOS CHAIN PROTOCOL
    • Chain ID and Address Format
    • Cronos General FAQ
    • Genesis
    • Modules
      • module_bank
      • module_distribution
      • module_slashing
      • module_feemarket
    • Chain Details
      • List of parameters
      • Technical glossary
      • Protocol Documentation
    • Common IBC Commands
  • Cronos zkEVM
    • Cronos zkEVM
  • Resources
    • Media / brand kit
Powered by GitBook
On this page
  • Ethereum type JSON-RPC Methods
  • Pre-requisite Readings
  • JSON-RPC Methods
  • JSON-RPC namespaces
  • Pre-requisite Readings
  • Ethereum Namespaces

Was this helpful?

Edit on GitHub
  1. FOR DAPP DEVELOPERS
  2. dApp Creation

JSON-RPC methods

PreviousWeb3-walletNextAddress Conversion

Last updated 6 months ago

Was this helpful?

Ethereum type JSON-RPC Methods

Pre-requisite Readings

Below is a list of Ethereum type JSON-RPC Methods where users can curl via local node. While you can also surf to our swagger playgroundfor a better understanding.

JSON-RPC Methods

Web3

Method
Namespace
Implemented
Public

web3_clientVersion

Web3

✔

✔

web3_sha3

Web3

✔

✔

Getting Blocks

Method
Namespace
Implemented
Public

eth_getBalance

Eth

✔

✔

eth_getBlockByNumber

Eth

✔

✔

eth_getBlockByHash

Eth

✔

✔

Read data

Method
Namespace
Implemented
Public

eth_call

Eth

✔

✔

eth_getTransactionByHash

Eth

✔

✔

eth_getTransactionCount

Eth

✔

✔

eth_getTransactionReceipt

Eth

✔

✔

eth_getBlockTransactionCountByNumber

Eth

✔

✔

eth_getBlockTransactionCountByHash

Eth

✔

✔

eth_getTransactionbyBlockNumberAndIndex

Eth

✔

✔

eth_getTransactionByBlockHashAndIndex

Eth

✔

✔

eth_sign

Eth

✔

eth_coinbase

Eth

✔

Writing data

Method
Namespace
Implemented
Public

eth_sendTransaction

Eth

✔

eth_sendRawTransaction

Eth

✔

✔

eth_sendPrivateTransaction

Eth

eth_cancelPrivateTransaction

Eth

Account

Method
Namespace
Implemented
Public

eth_getBalance

Eth

✔

✔

eth_getStorageAt

Eth

✔

✔

eth_getCode

Eth

✔

✔

eth_accounts

Eth

✔

eth_getProof

Eth

✔

Event Logs

Method
Namespace
Implemented
Public

eth_getLogs

Eth

✔

✔

eth_getFilterChanges

Eth

✔

eth_getFilterLogs

Eth

✔

eth_newBlockFilter

Eth

✔

eth_newFilter

Eth

✔

eth_newPendingTransactionFilter

Eth

✔

eth_uninstallFilter

Eth

✔

Chain

Method
Namespace
Implemented
Public

eth_protocolVersion

Eth

✔

✔

eth_gasPrice

Eth

✔

✔

eth_estimateGas

Eth

✔

✔

eth_feeHistory

Eth

✔

✔

eth_maxPriorityFeePerGas

Eth

✔

✔

eth_chainId

Eth

✔

✔

eth_syncing

Eth

✔

✔

eth_blockNumber

Eth

✔

✔

net_listening

Net

✔

✔

net_version

Net

✔

✔

net_peerCount

Net

✔

✔

Websocket

Method
Namespace
Implemented
Public

eth_subscribe

Websocket

✔

eth_unsubscribe

Websocket

✔

Tip Block Number can be entered as a Hex string, "earliest", "latest" or "pending".

When using batch requests, we currently only allow 3 objects for Mainnet and 5 objects for Testnet

JSON-RPC namespaces

Pre-requisite Readings

Ethereum Namespaces

Namespace
Description
Supported
Enabled by Default

eth

Cronos provides several extensions to the standard eth JSON-RPC namespace.

✔

✔

web3

The web3 API provides utility functions for the web3 client.

✔

✔

net

The net API provides access to network information of the node

✔

✔

clique

The clique API provides access to the state of the clique consensus engine. You can use this API to manage signer votes and to check the health of a private network.

❌

debug

The debug API gives you access to several non-standard RPC methods, which will allow you to inspect, debug and set certain debugging flags during runtime.

✔

les

The les API allows you to manage LES server settings, including client parameters and payment settings for prioritized clients. It also provides functions to query checkpoint information in both server and client mode.

❌

miner

The miner API allows you to remote control the node’s mining operation and set various mining specific settings.

✔

❌

txpool

The txpool API gives you access to several non-standard RPC methods to inspect the contents of the transaction pool containing all the currently pending transactions as well as the ones queued for future processing.

✔

❌

admin

The admin API gives you access to several non-standard RPC methods, which will allow you to have a fine grained control over your nodeinstance, including but not limited to network peer and RPC endpoint management.

❌

personal

The personal API manages private keys in the key store.

✔

❌

💻
Ethereum JSON-RPC
Geth JSON-RPC APIs
Geth JSON-RPC Namespaces