Skip to content

docs(injective): align Injective API docs with chain-config#1235

Closed
andra-catana wants to merge 2 commits intoalchemyplatform:mainfrom
andra-catana:docs/injective-chain-config-methods
Closed

docs(injective): align Injective API docs with chain-config#1235
andra-catana wants to merge 2 commits intoalchemyplatform:mainfrom
andra-catana:docs/injective-chain-config-methods

Conversation

@andra-catana
Copy link
Copy Markdown

Description

Align Injective Node API documentation and OpenRPC metadata with Alchemy chain configuration: chain IDs, mainnet vs testnet JSON-RPC differences, and Debug API coverage.

Related Issues

N/A (internal accuracy / chain-config parity).

Changes Made

  • OpenRPC (injective.yaml): Expanded info.description and per-server descriptions; documented testnet-only methods (eth_getBlockReceipts, eth_syncing, net_listening) and Debug namespace; reordered custom method refs (including syncing / net_listening).
  • Overview MDX: Tables for methods on both networks vs testnet-only; chain ID table; block tags; Debug method list with links to Debug API docs.
  • FAQ / Quickstart: Mainnet + testnet wording; chain IDs; overview link; testnet URL note.

Testing

  • Ran pnpm run generate:rpc locally (OpenRPC generation succeeded).
  • I have run the validation scripts (pnpm run validate)
  • I have checked that the documentation builds correctly

Source: chain-config INJECTIVE chain (evm + debug method groups) and topconfig.yml allowlists for INJECTIVE_MAINNET / INJECTIVE_TESTNET.

Made with Cursor

Document mainnet vs testnet JSON-RPC differences (testnet-only eth_getBlockReceipts, eth_syncing, net_listening), chain IDs, block tags, and debug namespace coverage from INJECTIVE chain method groups.

Made-with: Cursor
@andra-catana andra-catana requested a review from a team as a code owner April 20, 2026 13:47
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7307dcf3d3

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".


The Injective chain includes the **`debug`** method group. The following Geth-style methods are supported on both Injective networks when using the [Debug API](/docs/reference/debug-api-endpoints) (same base URL as the Node API; access may require a paid plan):

`debug_dbAncient`, `debug_dbAncients`, `debug_dbGet`, `debug_getBadBlocks`, `debug_getRawBlock`, `debug_getRawHeader`, `debug_getRawReceipts`, `debug_getTrieFlushInterval`, `debug_storageRangeAt`, `debug_traceBlockByHash`, `debug_traceBlockByNumber`, `debug_traceCall`, `debug_traceCallMany`, `debug_traceTransaction`.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Remove unsupported debug methods from Injective overview

This list declares methods like debug_dbAncient, debug_dbAncients, debug_dbGet, debug_getBadBlocks, debug_getTrieFlushInterval, and debug_storageRangeAt as supported, but the Debug API spec in this repo (src/openrpc/alchemy/debug/debug.yaml) only defines debug_getRawBlock, debug_getRawHeader, debug_getRawReceipts, debug_traceBlockByHash, debug_traceBlockByNumber, debug_traceCall, debug_traceCallMany, and debug_traceTransaction. Advertising methods that are not in the shipped Debug API contract creates an accuracy issue for users and can lead to failed calls or missing endpoint docs.

Useful? React with 👍 / 👎.

Remove server/info prose not rendered by the docs site. Add Injective-specific descriptions on eth_getBlockReceipts, eth_syncing, and net_listening via _components/injective. Point Debug coverage to the Debug API spec in MDX.

Made-with: Cursor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant