Documentation
Docs23. `eth_` Methods (30 Methods)

23. eth_ Methods (30 Methods)

Kortana natively supports 30 standard Ethereum JSON-RPC methods, meaning existing wallets (MetaMask) and libraries (ethers.js, viem, Web3.py) work without any modifications.

23.1 Chain & Blocks

  • eth_chainId: Returns the EIP-155 chain ID (e.g., 0x11B3F for Testnet).
  • eth_blockNumber: Returns the height of the most recently finalized block.
  • eth_getBlockByHash, eth_getBlockByNumber: Returns block data.
  • eth_getBlockTransactionCountByHash, eth_getBlockTransactionCountByNumber: Returns the number of transactions in a specific block.
  • eth_getUncleCountByBlockHash, eth_getUncleCountByBlockNumber: Always returns 0x0. Kortana's BFT consensus guarantees deterministic finality; there are no uncles.
  • eth_syncing: Returns the synchronization status.
  • eth_mining: Returns false (Kortana uses dPOH/BFT, not Proof of Work).

23.2 Transactions

  • eth_sendRawTransaction: Accepts signed Legacy, EIP-2930, and EIP-1559 transactions.
  • eth_getTransactionByHash
  • eth_getTransactionByBlockHashAndIndex
  • eth_getTransactionByBlockNumberAndIndex
  • eth_getTransactionReceipt: Returns the execution receipt, including logs and gas used.
  • eth_getTransactionCount: Returns the account's nonce.

23.3 State

Note: All state queries ignore historical block parameters (e.g., 0x100) and return the current state, as Kortana does not maintain an archive node mode.

  • eth_getBalance: Returns the DNR balance of the account.
  • eth_getCode: Returns the bytecode of the contract (either EVM bytecode or KVM 4B564D00 prefixed code).
  • eth_getStorageAt: Returns the value of a specific storage slot.
  • eth_getProof: Returns an EIP-1186 Merkle-Patricia Trie proof for an account's state.
  • eth_accounts: Always returns an empty array. The node daemon itself does not hold user private keys.

23.4 Execution & Gas

  • eth_call: Executes a read-only message call immediately, without creating a transaction.
  • eth_estimateGas: Simulates a transaction to estimate gas consumption.
  • eth_gasPrice: Returns the current base fee plus a recommended tip.
  • eth_maxPriorityFeePerGas: Returns the historical average of priority fees.
  • eth_feeHistory: Returns base fee elasticity data for EIP-1559 fee estimation.

23.5 Logs & Subscriptions

  • eth_getLogs: Queries historical event logs.
  • eth_subscribe, eth_unsubscribe, eth_subscription: Used over WebSockets for live streaming.