Polygon JSON-RPC
The Polygon PoS JSON-RPC surface on
POST https://triport.io/polygon— the Ethereum-compatibleeth_*set plus the Polygon-nativebor_*namespace for validator and sprint introspection.
| Method / Endpoint | POST https://triport.io/polygon |
| Network | Polygon (PoS) |
| Authentication | x-token header (SDK-preferred); see Authentication |
| Required scope | — (tier-gated per method) |
| Tier / rate limit | Any tier; see Rate Limits |
How to call
Every method takes the same envelope — only method and params change:
curl https://triport.io/polygon \
-H "x-token: $TRIPORT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"bor_getAuthor","params":["latest"]}'Batching (a JSON array of request objects) is supported; each entry is tier-checked and rate-limited individually.
Support semantics
| Status | Meaning |
|---|---|
| Supported | Routed to an upstream node, result returned unchanged — Ethereum-compatible eth_*, net_*, web3_* plus Polygon-native bor_*. |
| Not supported | Methods outside the catalog return -32601 (method_unknown). |
See Errors for the full error envelope.
Method reference
The pages below are grouped by namespace — the Ethereum-compatible set and the
bor_ namespace (bor_getAuthor, bor_getCurrentValidators,
bor_getSnapshot, …). Subscriptions live on the WebSocket channel — see
Polygon WS.
eth_* 29
POST eth_blockNumber
Returns the latest Polygon block number as a hex-encoded string.
POST eth_call
Executes a read-only smart-contract call against the current (or a historical) Polygon state, returning the raw result without creating a transaction or spending gas.
POST eth_chainId
Returns the Polygon network's EIP-155 chain ID as a hex string — 0x89 (137) on mainnet.
POST eth_estimateGas
Estimates how much gas a transaction would consume on Polygon, without broadcasting it to the network.
POST eth_feeHistory
Returns a window of historical base fees, gas-usage ratios, and priority-fee percentiles for Polygon, used to estimate EIP-1559 fees.
POST eth_gasPrice
Returns the node's current legacy gas-price suggestion, in wei, as a hex string.
POST eth_getBalance
Returns the native MATIC balance of an address, in wei, at a given block.
POST eth_getBlockByHash
Returns a Polygon block, addressed by its 32-byte block hash, with its transactions either fully expanded or as a list of hashes.
POST eth_getBlockByNumber
Returns a single Polygon block selected by block number or a named tag, optionally with every transaction body inlined.
POST eth_getBlockReceipts
Returns every transaction receipt for a single Polygon block in one call — the fast path for block-level indexing.
POST eth_getBlockTransactionCountByHash
Returns the number of transactions in a Polygon block, identified by its block hash.
POST eth_getBlockTransactionCountByNumber
Returns the number of transactions in a Polygon block identified by its number or a block tag.
POST eth_getCode
Returns the compiled bytecode deployed at a Polygon address, or 0x if the address is an externally-owned account (EOA) or holds no code.
POST eth_getFilterChanges
Polls a previously created server-side filter and returns everything that has matched since the last poll.
POST eth_getLogs
Returns the array of event logs on Polygon matching a filter — by block range, contract address, and indexed topics.
POST eth_getProof
Returns a Merkle-Patricia proof that a given account — and optionally specific storage slots — is included in the Polygon state trie at a chosen block.
POST eth_getRootHash (deprecated)
Legacy eth-namespace alias for the Polygon Bor root-hash call; deprecated — use bor_getRootHash instead.
POST eth_getStorageAt
Returns the raw 32-byte value stored at a given storage slot of a contract on Polygon, at a specific block.
POST eth_getTransactionByBlockHashAndIndex
Returns a single Polygon transaction by the hash of its block and its zero-based position within that block.
POST eth_getTransactionByBlockNumberAndIndex
Returns a single Polygon transaction selected by its block (number or tag) and its zero-based position within that block.
POST eth_getTransactionByHash
Returns the transaction object for a given transaction hash on Polygon, or null if the transaction is unknown or still pending.
POST eth_getTransactionCount
Returns the number of transactions sent from a Polygon address — i.e. its nonce — at a given block.
POST eth_getTransactionReceipt
Returns the receipt for a mined Polygon transaction — execution status, gas used, and emitted logs — or null if the transaction has not yet been mined.
POST eth_maxPriorityFeePerGas
Returns the suggested EIP-1559 priority fee (validator tip) for Polygon, in wei, as a hex-encoded string.
POST eth_newBlockFilter
Creates a server-side block filter and returns a filter ID you can poll for newly arrived block hashes.
POST eth_protocolVersion
Returns the current EVM protocol version of the Polygon node as a hex string constant.
POST eth_sendRawTransaction
Broadcasts a signed, RLP-encoded transaction to the Polygon mempool and returns its transaction hash.
POST eth_syncing
Reports whether the Polygon node serving your request is still catching up to the chain head, or fully synced.
POST eth_uninstallFilter
Removes a previously created server-side filter on Polygon, freeing the resource it held on the node.
bor_* 6
POST bor_getAuthor
Returns the block author — the validator address that proposed a given Polygon block.
POST bor_getCurrentProposer
Returns the address of the validator currently scheduled to propose blocks on Polygon's Bor consensus layer.
POST bor_getCurrentValidators
Returns the current Polygon Bor consensus validator set — the active validators producing blocks this epoch, with their stake weight and proposer-rotation accumulator.
POST bor_getRootHash
Returns the Bor consensus root hash that commits a contiguous range of Polygon blocks — the proof input the Polygon PoS bridge uses for L1↔L2 state sync.
POST bor_getSigners
Returns the list of authorized validator signer addresses for a given Polygon (Bor) block.
POST bor_getSnapshot
Returns the full Bor consensus snapshot at a block — the validator set, the recent-signers map, and the block context — in a single call.
trace_* 5
POST trace_block
Как это работает у нас (2026-07-26). Метод собирается на нашей стороне из
POST trace_call
Как это работает у нас (2026-07-26). Метод собирается на нашей стороне из
POST trace_filter
⚠️ НЕ ОТДАЁТСЯ (2026-07-26). Метод убран из каталога: он требует индекса
POST trace_replayBlockTransactions
Как это работает у нас (2026-07-26). Метод собирается на нашей стороне из
POST trace_transaction
Как это работает у нас (2026-07-26). Метод собирается на нашей стороне из
net_* 3
txpool_* 3
POST txpool_content
Returns a complete, atomic snapshot of the node's transaction pool — every pending and queued transaction, grouped by sender address and nonce.
POST txpool_inspect
Returns a human-readable, formatted summary of every transaction currently in the Polygon mempool, grouped by sender address and nonce.
POST txpool_status
Returns the current depth of the Polygon mempool as two integer counts — pending and queued transactions — without any transaction bodies.
debug_* 2
POST debug_traceBlockByNumber
Replays every transaction in a Polygon block selected by number or tag and returns the Geth-style EVM execution trace for each one.
POST debug_traceCall
Simulate a single Polygon call against a historical or pending state and return its full Geth-style execution trace — without broadcasting anything to the network.