Polygon API Methods
Supported Networks:
- Polygon Mainnet (
POLYGON) - Polyong Testnet (
POLYGONA)
Supported Interfaces:
- JSON-RPC/HTTP
- JSON-RPC/WEBSOCKET
JSON-RPC
Chain & Node Info
eth_chainIdeth_protocolVersioneth_syncingnet_versionnet_listeningnet_peerCountrpc_modulesweb3_clientVersionweb3_sha3
Blocks & Headers
eth_blockNumbereth_getBlockByNumbereth_getBlockByHasheth_getBlockReceiptseth_getBlockTransactionCountByNumbereth_getBlockTransactionCountByHasheth_getUncleByBlockNumberAndIndexeth_getUncleByBlockHashAndIndexeth_getUncleCountByBlockNumbereth_getUncleCountByBlockHash
Transactions (read)
eth_getTransactionByHasheth_getTransactionByBlockNumberAndIndexeth_getTransactionByBlockHashAndIndexeth_getTransactionReceipt
Transactions (write & execution)
eth_sendRawTransactioneth_sendTransactioneth_calleth_estimateGaseth_createAccessListeth_signTransaction
Accounts & Keys
eth_accountseth_getBalanceeth_getTransactionCounteth_coinbaseeth_sign
State & Code
eth_getCodeeth_getStorageAteth_getProof
Logs, Filters & Subscriptions
eth_newFiltereth_newBlockFiltereth_newPendingTransactionFiltereth_getFilterChangeseth_getFilterLogseth_getLogseth_uninstallFiltereth_subscribeeth_unsubscribe
Gas & Fees
eth_gasPriceeth_feeHistoryeth_maxPriorityFeePerGas
Legacy Mining/Work (compat)
eth_miningeth_hashrateeth_getWork
Polygon-specific
Bor (validator/proposer)
bor_getAuthorbor_getCurrentProposerbor_getCurrentValidatorsbor_getRootHashbor_getSignersAtHash
Transaction Pool
txpool_contenttxpool_inspecttxpool_status
Erigon (client extensions)
erigon_blockNumbererigon_forkserigon_getBlockByTimestamperigon_getBlockReceiptsByBlockHasherigon_getHeaderByHasherigon_getHeaderByNumber
QuickNode (if available)
qn_getBlockWithReceiptsqn_getReceipts
Add-ons
debug
debug_getBadBlocksdebug_getRawBlockdebug_getRawHeaderdebug_getRawReceiptsdebug_getRawTransactiondebug_storageRangeAtdebug_traceBlockdebug_traceBlockByHashdebug_traceBlockByNumberdebug_traceCalldebug_traceTransaction
trace
trace_calltrace_blocktrace_gettrace_filtertrace_transactiontrace_rawTransactiontrace_replayBlockTransactionstrace_replayTransaction
bundler
eth_sendUserOperationeth_estimateUserOperationGaseth_getUserOperationByHasheth_getUserOperationReceipteth_supportedEntryPoints