JSON-RPC
#Compatibility with the Web3 JSON-RPC Protocol
On the IC, you can access the endpoints of the JSON RPC interface listed below. Note that you can also access the full api of a full node, but without the ability to broadcast transactions using an archive node. See the section on full nodes.
Methods
Legend: ❌ = not supported. 🚧 = work in progress. ✅ = supported.
Limitations
- The
eth_getProofmethod (EIP-1186) is not supported and is unlikely to be possible to implement.
Notes
For now, the
eth_estimateGasmethod returns a fixed value (6,721,975, matching Truffle's default gas limit).Ethereum is a proof-of-work (PoW) network, and Internet Computer is a proof-of-stake (PoS) network. Therefore with Bitfinity all mining-related methods such as
eth_getWork,eth_submitHashrate, andeth_submitWorkare not supported and return an error code. Additionally, PoW-related block metadata such asnonceanddifficultycontain all zeroes.There is no concept of uncle (aka ommer) blocks on Bitfinity.
There is no access to pending transactions.
The nonstandard Geth tracing APIs are not supported at present.
The nonstandard Parity tracing APIs are not supported at present.