JSON-RPC API
TEN offers compatibility with a subset of Ethereum's JSON-RPC API. This document outlines the supported JSON-RPC API methods.
Supported Methods
TEN nodes cater to the following JSON-RPC API methods, accessible via both HTTP and websockets:
eth_blockNumbereth_calleth_chainIdeth_estimateGaseth_gasPriceeth_getBalanceeth_getBlockByHasheth_getBlockByNumbereth_getCodeeth_getLogseth_getTransactionByHasheth_getTransactionCounteth_getTransactionReceipteth_sendRawTransaction
Websocket Subscriptions
For websocket connections, additional API methods include:
eth_subscribeeth_unsubscribe
Currently, the sole supported subscription type is logs.