docs: point Polygon node API references at the Bor Global Node endpoint#584
Conversation
…ndpoint The Polygon node API reference 'Try it' calls and code samples pointed at the retired Erigon demo node, which no longer reflects the live Bor service (and returns wrong/misleading results for trace calls). Swap all Polygon node API specs and reference pages to the current Polygon Bor Global Node (archive + debug/trace + bor namespace). Verified against the endpoint: bor v2.9.0, chainId 0x89, archive state, callTracer + flatCallTracer, debug_traceBlockByNumber, and bor_* methods all respond correctly. Scoped strictly to polygon_node_api specs and the reference pages that use them (41 specs + 39 pages); line endings preserved, only the endpoint host and token changed.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (80)
📝 WalkthroughSummary by CodeRabbit
WalkthroughPolygon OpenAPI specifications now use the Chainstack mainnet server and a new hashed operation path. Matching Polygon reference pages update their OpenAPI mappings to the same path identifier without changing operation schemas or documentation content. ChangesPolygon OpenAPI specifications
Documentation mappings
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
The Polygon node API reference pages (under API → Node APIs → Polygon node API) had their "Try it" endpoint and code samples pointing at the retired Erigon demo node. That node no longer reflects the live Polygon service — most importantly, trace calls there return misleading results versus the Bor end-state we now document.
This swaps every Polygon node API spec and reference page to the current Polygon Bor Global Node demo endpoint (archive + debug/trace).
Scope
openapi/polygon_node_api/—servershost + operation path.openapi:frontmatter path.polygon-*pages and the older unprefixed pages (chainid,getcode,ethcall, …) — all are in the Polygon node API nav section.eth_sendRawTransactionSync) was already on the new endpoint.Only the endpoint host and token changed (121 lines); line endings preserved, no whitespace churn.
Verified live
Confirmed the new endpoint serves everything the references exercise: bor v2.9.0, chainId 0x89, archive state (balance at block 1,000,000),
callTracer+flatCallTracer,debug_traceBlockByNumber, and thebor_*namespace (bor_getAuthor,bor_getSignersAtHash) — all respond correctly.mint broken-linksclean.