JSON RPC Compatibility
As we described in previous sections, the requests will be forwarded to the Geth Node in our system or a Wrapper service the repacking the transaction into an EOS smart contract call.
According to our design, all the JSON-RPC calls should be inherently supported thanks to the full functioning Geth Node. However, we are still blocking some methods in current phase for different reasons:
- Some methods are simply deprecated or discontinued. We'd better refrain from supporting them.
- Some methods are designed for the local node scenario. We will not expose them in the public API but will give ways to access them when one deploy his own Trust EVM node.
- Some methods involve complex logic: We need to do more tests before exposing them.
RPC Method | Destination |
---|---|
web3_clientVersio | Geth |
web3_sha3 | Block |
net_version | Geth |
net_peerCount | Block |
net_listening | Block |
eth_protocolVersion | Block |
eth_syncing | Block |
eth_coinbase | Block |
eth_mining | Block |
eth_hashrate | Block |
eth_gasPrice | Wrapper |
eth_accounts | Block |
eth_blockNumber | Geth |
eth_getBalance | Geth |
eth_getStorageAt | Geth |
eth_getTransactionCount | Geth |
eth_getBlockTransactionCountByHash | Geth |
eth_getBlockTransactionCountByNumber | Geth |
eth_getUncleCountByBlockHash | Block |
eth_getUncleCountByBlockNumber | Block |
eth_getCode | Geth |
eth_sign | Block |
eth_signTransaction | Block |
eth_sendTransaction | Block |
eth_sendRawTransaction | Wrapper |
eth_call | Geth |
eth_estimateGas | Wrapper |
eth_getBlockByHash | Geth |
eth_getBlockByNumber | Geth |
eth_getTransactionByHash | Geth |
eth_getTransactionByBlockHashAndIndex | Geth |
eth_getTransactionByBlockNumberAndIndex | Geth |
eth_getTransactionReceipt | Geth |
eth_getUncleByBlockHashAndIndex | Block |
eth_getUncleByBlockNumberAndIndex | Block |
eth_getCompilers | Block |
eth_compileLLL | Block |
eth_compileSolidity | Block |
eth_compileSerpent | Block |
eth_newFilter | Block |
eth_newBlockFilter | Block |
eth_newPendingTransactionFilter | Block |
eth_uninstallFilter | Block |
eth_getFilterChanges | Block |
eth_getFilterLogs | Block |
eth_getLogs | Block |
eth_getWork | Block |
eth_submitWork | Block |
eth_submitHashrate | Block |
db_putString | Block |
db_getString | Block |
db_putHex | Block |
db_getHex | Block |
shh_post | Block |
shh_version | Block |
shh_newIdentity | Block |
shh_hasIdentity | Block |
shh_newGroup | Block |
shh_addToGroup | Block |
shh_newFilter | Block |
shh_uninstallFilter | Block |
shh_getFilterChanges | Block |
shh_getMessages | Block |
Last modified 9mo ago