All Supported Endpoints for Sonic Chain API
API Endpoints by Use Case
- Getting Blocks
- Reading Transactions
- Writing Transactions & EVM Execution
- Account Information
- Event Logs
- Chain Information
- Gas Estimation
- Web3
- Debug API
Getting Blocks
Retrieves information from a particular block in the blockchain.
- eth_getBlockByHash
- eth_blockNumber
- eth_getBlockByNumber
- eth_getBlockTransactionCountByHash
- eth_getBlockTransactionCountByNumber
Reading Transactions
Retrieves information on the state data for addresses regardless of whether it is a user or a smart contract.
- eth_getTransactionByHash
- eth_getTransactionByBlockHashAndIndex
- eth_getTransactionByBlockNumberAndIndex
- eth_getTransactionReceipt
- eth_getTransactionCount
Writing Transactions & EVM Execution
Allows developers to write data on-chain, and interact with smart contracts.
Account Information
Returns information regarding an address's stored on-chain data.
Event Logs
Returns logs which are records that denote/provide context on specific events within a smart contract, like a token transfer or a change of ownership, for example.
Chain Information
Returns information on the network and internal settings.
Gas Estimation
Returns information on the network gas estimates.
Web3
Returns network configuration information.
Debug API
The Debug API provides deeper insights into transaction processing and on-chain activity.