跳至主要內容

Polygon RPC

EVM-compatible

端點

JSON-RPC(路徑 Key)
https://api.blockvectra.com/v1/polygon_mainnet/{api_key}
JSON-RPC(請求標頭:x-api-key)
https://api.blockvectra.com/v1/polygon_mainnet
x-api-key: {api_key}

快速範例

curl -X POST https://api.blockvectra.com/v1/polygon_mainnet \
  -H "Content-Type: application/json" \
  -H "x-api-key: {api_key}" \
  -d '{"jsonrpc":"2.0","id":1,"method":"eth_blockNumber","params":[]}'

鏈資訊

Chain ID137

限制

歷史狀態視窗最近 126 個區塊的歷史狀態
eth_getLogs 單次最大區塊跨度1000 個區塊
方法策略
允許:debug_traceBlockByHash, debug_traceBlockByNumber, debug_traceCall, debug_traceTransaction, eth_blobBaseFee, eth_blockNumber, eth_call, eth_chainId, eth_createAccessList, eth_estimateGas, eth_feeHistory, eth_gasPrice, eth_getBalance, eth_getBlockByHash, eth_getBlockByNumber, eth_getBlockReceipts, eth_getBlockTransactionCountByHash, eth_getBlockTransactionCountByNumber, eth_getCode, eth_getHeaderByHash, eth_getHeaderByNumber, eth_getLogs, eth_getProof, eth_getRawTransactionByBlockHashAndIndex, eth_getRawTransactionByBlockNumberAndIndex, eth_getRawTransactionByHash, 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_simulateV1, eth_syncing, net_version, web3_clientVersion, web3_sha3
拒絕:eth_newFilter, eth_newBlockFilter, eth_newPendingTransactionFilter, eth_getFilterLogs, eth_getFilterChanges, eth_uninstallFilter, eth_subscribe, eth_unsubscribe

即時狀態

計價說明

註冊即享 3,000 萬 CU 免費額度(每 30 天自動補足,餘額與速率限制跨鏈合計,無需信用卡);按方法公開定價,每百萬次呼叫:eth_blockNumber $0.10、eth_call $1.50、eth_getLogs $3.00。

檢視定價方案 →

檢視免費方案與定價 →