Skip to content

Commit

Permalink
update readme to list all eth methods
Browse files Browse the repository at this point in the history
Signed-off-by: Chengxuan Xing <[email protected]>
  • Loading branch information
Chengxuan committed Mar 16, 2023
1 parent 684a997 commit a6609e2
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit a6609e2

Please sign in to comment.