Polygon API
Polygon PoS endpoints use EVM JSON-RPC.
Endpoint
| Item | Value |
|---|---|
| Network | Polygon PoS Mainnet |
| Protocol | EVM JSON-RPC 2.0 |
| Chain ID | 137 (0x89) |
| Public HTTPS | https://polygon-bor-rpc.blockreq.com/v1/rpc/public |
| Private HTTPS | https://polygon-bor-rpc.blockreq.com/v1/rpc/BRQ1P0000000000000000000000000000000000000000000000000000 |
| WSS | wss://polygon-bor-rpc.blockreq.com/v1/rpc/BRQ1P0000000000000000000000000000000000000000000000000000 when enabled |
Core Methods
Use EVM JSON-RPC Methods for the shared catalog.
| Capability | Methods |
|---|---|
| Latest state | eth_chainId, eth_blockNumber, eth_call, eth_getBalance |
| All history | old-block eth_call, eth_getCode, eth_getStorageAt, eth_getProof |
| Logs and blocks | eth_getLogs, eth_getBlockByNumber, eth_getBlockReceipts |
| Trace/debug | debug_traceCall, debug_traceTransaction, trace_block, trace_filter, trace_transaction |
Trace/debug availability depends on the provider strategy selected for the endpoint.