Polygon API

Polygon PoS endpoints use EVM JSON-RPC.

Endpoint

ItemValue
NetworkPolygon PoS Mainnet
ProtocolEVM JSON-RPC 2.0
Chain ID137 (0x89)
Public HTTPShttps://polygon-bor-rpc.blockreq.com/v1/rpc/public
Private HTTPShttps://polygon-bor-rpc.blockreq.com/v1/rpc/BRQ1P0000000000000000000000000000000000000000000000000000
WSSwss://polygon-bor-rpc.blockreq.com/v1/rpc/BRQ1P0000000000000000000000000000000000000000000000000000 when enabled

Core Methods

Use EVM JSON-RPC Methods for the shared catalog.

CapabilityMethods
Latest stateeth_chainId, eth_blockNumber, eth_call, eth_getBalance
All historyold-block eth_call, eth_getCode, eth_getStorageAt, eth_getProof
Logs and blockseth_getLogs, eth_getBlockByNumber, eth_getBlockReceipts
Trace/debugdebug_traceCall, debug_traceTransaction, trace_block, trace_filter, trace_transaction

Trace/debug availability depends on the provider strategy selected for the endpoint.