JSON-RPC methods
Polygon's Bor node API is based on Go Ethereum (Geth).
The API supports the standard Ethereum JSON-RPC-APIs, plus the methods listed in this section. Infura also provides access to archive data for API calls that require access to data older than 128 blocks.
Refer to the Ethereum API documentation for the additional Ethereum JSON-RPC APIs supported by Polygon.
info
We recommend you use the WSS protocol to set up bidirectional stateful subscriptions. Stateless HTTP WebSockets are also supported.