From a6609e20aca61e77c516c1738d5a72930b203f9d Mon Sep 17 00:00:00 2001 From: Chengxuan Xing Date: Thu, 16 Mar 2023 08:10:42 +0000 Subject: [PATCH] update readme to list all eth methods Signed-off-by: Chengxuan Xing --- README.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/README.md b/README.md index 0ac0256..4ea1e92 100644 --- a/README.md +++ b/README.md @@ -41,4 +41,36 @@ connectors: url: http://localhost:8545 ``` +## Blockchain node compatibility +For EVM connector to function properly, you should check the blockchain node supports the following JSON-RPC Methods over HTTP: +### Event tracking +- `eth_blockNumber` +- `eth_newBlockFilter` +- `eth_getFilterLogs` +- `eth_getFilterChanges` +- `eth_getBlockByHash` +- `eth_getLogs` +- `eth_newFilter` +- `eth_uninstallFilter` +- `eth_getTransactionByHash` +- `eth_getTransactionReceipt` + +### Query +- `eth_call` +- `eth_getBalance` +- `eth_gasPrice`[^1] + + + + +### Transaction submission +- `eth_estimateGas` +- `eth_sendTransaction` +- `eth_getTransactionCount` +- `eth_sendRawTransaction`[^2] + + +[^1]: also used by Transaction submission if the handler is configured to get gas price using "connector". + +[^2]: only required by custom transaction handlers that supports pre-signing. \ No newline at end of file