Polygon

Explore Polygon, a Layer 2 scaling solution for Ethereum. Build scalable and low-cost decentralized applications using its RPC gateway.

The Polygon RPC documentation provides developers with the necessary tools to interact with the Polygon blockchain, a Layer 2 scaling solution built on Ethereum. The documentation includes API endpoints for querying blockchain data, managing transactions, and deploying smart contracts. Polygon uses sidechains and rollups to achieve fast and low-cost transactions, making it ideal for decentralized finance (DeFi), gaming, and NFTs. Developers can leverage Ethereum-compatible tools while benefiting from enhanced scalability using Polygon’s RPC gateway.

Related: 📚 Supported Blockchains • 🌐 RPC Nodes Polygon • 🔗 Official Polygon Website

RPC Gateway for Polygon blockchain

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

Connect to Polygon and Fetch the Latest Block

This widget lets you instantly query the latest block height (or equivalent) for Polygon using a chain-specific RPC method like eth_blockNumber, getblockcount, or getBlockHeight. Useful for connectivity checks, uptime monitoring, or API testing.

Retrieve Polygon Node Status or Client Version via RPC

Use this pre-configured request to get version or status information for your connected Polygon node. Whether it's web3_clientVersion, getblockchaininfo, or chain-specific endpoints, the method is optimized for each supported blockchain.

Test Polygon RPC Methods in Postman

Explore and test Polygon blockchain methods instantly using our pre-configured Postman collection. Perfect for developers who want to experiment with Polygon RPC endpoints, validate API responses, or integrate Polygon into their applications.

How to use the Polygon Postman Collection

  1. Get your API key: Visit Tatum Dashboard to obtain your free API key
  2. Import the collection: Click the "Run in Postman" button below to import the Polygon collection
  3. Configure your environment: Update the gateway-api-key variable in the Tatum Gateway environment
  4. Start testing: Execute any Polygon RPC method and see real-time responses

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_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_chainId
  • eth_maxPriorityFeePerGas
  • eth_sendRawTransaction
  • eth_signTypedData
  • eth_signTypedData_v3
  • eth_syncing
  • 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_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_chainId
  • 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_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_chainId
  • eth_maxPriorityFeePerGas
  • eth_sendRawTransaction
  • eth_signTypedData
  • eth_signTypedData_v3
  • eth_syncing
  • 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

Method unavailable?

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