POST with a JSON body: jsonrpc, id, method, and params.
Common methods
| Method | What it does |
|---|---|
eth_blockNumber | Latest block number |
eth_getBlockByNumber | A block and its transactions |
eth_getBalance | Native balance of an address |
eth_call | Read a contract without a transaction |
eth_getLogs | Event logs for a filter |
eth_getTransactionReceipt | Receipt for a transaction hash |
eth_chainId | Chain id (137 for Polygon) |
eth_sendRawTransaction, are not part of this endpoint.
Batch requests
Send an array of calls in one request. You get an array of results back, in the same order.Batch