Polygon

Polygon PoS is an EVM-compatible proof-of-stake chain whose Heimdall validator layer checkpoints Bor block data to Ethereum, with POL as the gas token.

Polygon PoS has two layers: Bor, built on Go Ethereum, produces blocks and executes EVM transactions, while Heimdall, built on Cosmos SDK and CometBFT, manages validators and periodically commits checkpoints of Bor block hashes to Ethereum. Validators stake POL through contracts on Ethereum, and POL is also the native gas token. Bor nodes expose the standard Ethereum JSON-RPC API with 0x addresses.

Plans, pricing and dedicated nodes: Polygon RPC nodes on tatum.io. Network tiers: Supported Blockchains. Chain documentation: Polygon official website.

Polygon RPC at a glance

Networks Mainnet and Amoy
Chain ID Mainnet 137 (0x89) · Amoy 80002 (0x13882)
Interfaces JSON-RPC and WebSocket
Supported methods 55 · JSON-RPC methods
Debug and trace methods Available on Mainnet and Amoy
Native token POL
Authentication API key in the x-api-key header, see Authentication

Polygon RPC endpoints

↳ JSON-RPC
https://polygon-mainnet.gateway.tatum.io
↳ WebSocket
wss://polygon-mainnet.gateway.tatum.io
↳ JSON-RPC
https://polygon-amoy.gateway.tatum.io
↳ WebSocket
wss://polygon-amoy.gateway.tatum.io

Get the latest Polygon block

Sends eth_blockNumber to Polygon Mainnet through Tatum RPC Gateway and shows the latest block number.

Get the Polygon node version

Sends web3_clientVersion to Polygon Mainnet through Tatum RPC Gateway and shows the node version and status.

Test Polygon RPC methods in Postman

The Polygon Postman collection has a ready request for the supported methods. Import it, set the gateway-api-key variable of the Tatum Gateway environment to your API key from Tatum Dashboard, and send any request.

Available Polygon interfaces and methods

Each Polygon network and interface below exposes its own set of RPC methods, listed live from Tatum's RPC Gateway. Query these endpoints for any interface to explore what it supports:

  • /_methods – machine-readable list of interfaces and methods
  • /llms.txt – human- and AI-readable documentation context
Polygon Mainnet

JSON-RPC

Base URL: https://polygon-mainnet.gateway.tatum.io

Discovery: /_methods · /llms.txt

  • debug_getBadBlocks
  • debug_storageRangeAt
  • debug_traceBlock
  • debug_traceBlockByHash
  • debug_traceBlockByNumber
  • debug_traceCall
  • debug_traceTransaction
  • eth_blockNumber
  • eth_call
  • eth_callMany
  • eth_chainId
  • eth_estimateGas
  • eth_feeHistory
  • eth_gasPrice
  • eth_getBalance
  • eth_getBlockByHash
  • eth_getBlockByNumber
  • eth_getBlockReceipts
  • eth_getBlockTransactionCountByHash
  • eth_getBlockTransactionCountByNumber
  • eth_getCode
  • eth_getLogs
  • eth_getProof
  • eth_getStorageAt
  • eth_getTransactionByBlockHashAndIndex
  • eth_getTransactionByBlockNumberAndIndex
  • eth_getTransactionByHash
  • eth_getTransactionCount
  • eth_getTransactionReceipt
  • eth_getUncleByBlockHashAndIndex
  • eth_getUncleByBlockNumberAndIndex
  • eth_getUncleCountByBlockHash
  • eth_getUncleCountByBlockNumber
  • eth_maxPriorityFeePerGas
  • eth_sendRawTransaction
  • eth_signTypedData
  • eth_signTypedData_v3
  • eth_simulateV1
  • eth_syncing
  • net_listening
  • net_peerCount
  • net_version
  • trace_block
  • trace_call
  • trace_callMany
  • trace_rawTransaction
  • trace_replayBlockTransactions
  • trace_replayTransaction
  • trace_transaction
  • txpool_content
  • txpool_inspect
  • txpool_status
  • web3_clientVersion

WebSocket

Base URL: wss://polygon-mainnet.gateway.tatum.io

Discovery: /_methods · /llms.txt

  • eth_blockNumber
  • eth_call
  • eth_chainId
  • eth_estimateGas
  • eth_feeHistory
  • eth_gasPrice
  • eth_getBalance
  • eth_getBlockByHash
  • eth_getBlockByNumber
  • eth_getBlockReceipts
  • eth_getCode
  • eth_getLogs
  • eth_getStorageAt
  • eth_getTransactionByHash
  • eth_getTransactionCount
  • eth_getTransactionReceipt
  • eth_maxPriorityFeePerGas
  • eth_sendRawTransaction
  • eth_subscribe
  • eth_unsubscribe
  • net_version
  • web3_clientVersion
Polygon Amoy

JSON-RPC

Base URL: https://polygon-amoy.gateway.tatum.io

Discovery: /_methods · /llms.txt

  • debug_getBadBlocks
  • debug_storageRangeAt
  • debug_traceBlock
  • debug_traceBlockByHash
  • debug_traceBlockByNumber
  • debug_traceCall
  • debug_traceTransaction
  • eth_blockNumber
  • eth_call
  • eth_callMany
  • eth_chainId
  • eth_estimateGas
  • eth_feeHistory
  • eth_gasPrice
  • eth_getBalance
  • eth_getBlockByHash
  • eth_getBlockByNumber
  • eth_getBlockReceipts
  • eth_getBlockTransactionCountByHash
  • eth_getBlockTransactionCountByNumber
  • eth_getCode
  • eth_getLogs
  • eth_getProof
  • eth_getStorageAt
  • eth_getTransactionByBlockHashAndIndex
  • eth_getTransactionByBlockNumberAndIndex
  • eth_getTransactionByHash
  • eth_getTransactionCount
  • eth_getTransactionReceipt
  • eth_getUncleByBlockHashAndIndex
  • eth_getUncleByBlockNumberAndIndex
  • eth_getUncleCountByBlockHash
  • eth_getUncleCountByBlockNumber
  • eth_maxPriorityFeePerGas
  • eth_sendRawTransaction
  • eth_signTypedData
  • eth_signTypedData_v3
  • eth_simulateV1
  • eth_syncing
  • net_listening
  • net_peerCount
  • net_version
  • trace_block
  • trace_call
  • trace_callMany
  • trace_rawTransaction
  • trace_replayBlockTransactions
  • trace_replayTransaction
  • trace_transaction
  • txpool_content
  • txpool_inspect
  • txpool_status
  • web3_clientVersion

WebSocket

Base URL: wss://polygon-amoy.gateway.tatum.io

Discovery: /_methods · /llms.txt

  • eth_blockNumber
  • eth_call
  • eth_chainId
  • eth_estimateGas
  • eth_feeHistory
  • eth_gasPrice
  • eth_getBalance
  • eth_getBlockByHash
  • eth_getBlockByNumber
  • eth_getBlockReceipts
  • eth_getCode
  • eth_getLogs
  • eth_getStorageAt
  • eth_getTransactionByHash
  • eth_getTransactionCount
  • eth_getTransactionReceipt
  • eth_maxPriorityFeePerGas
  • eth_sendRawTransaction
  • eth_subscribe
  • eth_unsubscribe
  • net_version
  • web3_clientVersion

Method unavailable?

If you need a method we don't support yet, please contact our support.
We'd be happy to assist.

Testing without an API key? Free public endpoints are listed on Polygon RPC at FREERPC.com.