internet-computer-protocol / evm-rpc-canister

Interact with EVM blockchains from the Internet Computer.
https://internetcomputer.org/docs/current/developer-docs/multi-chain/ethereum/evm-rpc/overview
Apache License 2.0
63 stars 13 forks source link

Support for `eth_call` #288

Closed gregorydemay closed 4 days ago

gregorydemay commented 3 weeks ago

Add a Candid convenience method, e.g. like eth_getBlockByNumber, for eth_call.

  1. Ethereum JSON RPC Specification
  2. Candid interface
    eth_call : (RpcServices, opt RpcConfig, EthCallArgs) -> (MultiEthCallResult);
  3. Example request