Skip to content

Instantly share code, notes, and snippets.

@kumavis
Created December 7, 2015 01:35
Show Gist options
  • Save kumavis/1ba6bf12d837a3331523 to your computer and use it in GitHub Desktop.
Save kumavis/1ba6bf12d837a3331523 to your computer and use it in GitHub Desktop.
ethereum rpc methods, in MetaMask ProviderEngine categories

hardcoded

  • web3_clientVersion
  • net_version
  • net_listening
  • net_peerCount
  • eth_protocolVersion
  • eth_hashrate
  • eth_mining
  • eth_syncing

accounts manager

  • eth_coinbase
  • eth_accounts
  • eth_sendTransaction
  • eth_sign ( not used in web3.js )

data source

  • eth_gasPrice
  • eth_blockNumber
  • eth_getBalance
  • eth_getBlockByHash
  • eth_getBlockByNumber
  • eth_getBlockTransactionCountByHash
  • eth_getBlockTransactionCountByNumber
  • eth_getCode
  • eth_getStorageAt
  • eth_getTransactionByBlockHashAndIndex
  • eth_getTransactionByBlockNumberAndIndex
  • eth_getTransactionByHash
  • eth_getTransactionCount
  • eth_getTransactionReceipt
  • eth_getUncleByBlockHashAndIndex
  • eth_getUncleByBlockNumberAndIndex
  • eth_getUncleCountByBlockHash
  • eth_getUncleCountByBlockNumber
  • eth_sendRawTransaction
  • eth_getLogs ( not used in web3.js )
( watches )
  • eth_newBlockFilter
  • eth_newPendingTransactionFilter
  • eth_newFilter
  • eth_uninstallFilter
  • eth_getFilterLogs
  • eth_getFilterChanges

vm

  • eth_call
  • eth_estimateGas

db source

  • db_putString
  • db_getString
  • db_putHex
  • db_getHex

compiler

  • eth_getCompilers
  • eth_compileLLL
  • eth_compileSerpent
  • eth_compileSolidity

shh gateway

  • shh_version
  • shh_post
  • shh_newIdentity
  • shh_hasIdentity
  • shh_newGroup
  • shh_addToGroup

( not supported )

  • eth_getWork
  • eth_submitWork
  • eth_submitHashrate ( not used in web3.js )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment