Skip to content

[docs-agent] Add docs for 5 new Bitcoin-ecosystem chains and UTXO REST API#1281

Open
JackReacher0807 wants to merge 2 commits intomainfrom
docs/bitcoin-ecosystem-chains-launch
Open

[docs-agent] Add docs for 5 new Bitcoin-ecosystem chains and UTXO REST API#1281
JackReacher0807 wants to merge 2 commits intomainfrom
docs/bitcoin-ecosystem-chains-launch

Conversation

@JackReacher0807
Copy link
Copy Markdown
Collaborator

@JackReacher0807 JackReacher0807 commented May 5, 2026

Summary

Adds docs for 5 new Bitcoin-ecosystem chains launching this Thursday (Bitcoin Cash mainnet/testnet, Litecoin mainnet/testnet, Dogecoin mainnet) and a new UTXO REST API spec used across all 7 supported UTXO networks (the 5 above plus Bitcoin Mainnet and Bitcoin Testnet 4).

JSON-RPC docs

  • New OpenRPC chain specs at src/openrpc/chains/{bitcoincash,litecoin,dogecoin}/<chain>.yaml. Each $refs the existing src/openrpc/chains/_components/bitcoin/methods.yaml so the 38 Bitcoin-style methods (getblock, sendrawtransaction, etc.) appear identically across the new chains. Confirmed by the requester that all 38 methods are available on all 5 new chains.
  • New MDX pages under content/api-reference/{bitcoincash,litecoin,dogecoin}/: <chain>-api-quickstart.mdx, <chain>-api-faq.mdx, <chain>-api-overview.mdx, mirroring the existing Bitcoin pages.
  • New chain sections inserted in content/docs.yml in alphabetical order: Bitcoin Cash between Bitcoin and Blast, Dogecoin between Degen and Fantom, Litecoin between Linea and Lumia.

UTXO REST API

  • New OpenAPI 3.1 spec at src/openapi/utxo/utxo.yaml covering the 12 Trezor Blockbook REST endpoints the requester confirmed are exposed:
    • GET /api/v2/block-index/{block_height}
    • GET /api/v2/tx/{txid}
    • GET /api/v2/tx-specific/{txid}
    • GET /api/v2/address/{address}
    • GET /api/v2/xpub/{xpub}
    • GET /api/v2/utxo/{descriptor}
    • GET /api/v2/block/{block}
    • GET /api/v2/sendtx/{hex} and POST /api/v2/sendtx
    • GET /api/v2/tickers-list
    • GET /api/v2/tickers
    • GET /api/v2/balancehistory/{address}
  • Servers cover all 7 networks via a {network} server variable: bitcoin-mainnet, bitcoin-testnet4, bitcoincash-mainnet, bitcoincash-testnet, litecoin-mainnet, litecoin-testnet, dogecoin-mainnet. Server URL pattern follows the JSON-RPC one (https://{network}.g.alchemy.com/v2/{apiKey}) per the requester's "same host" answer, so each path resolves to e.g. https://bitcoincash-mainnet.g.alchemy.com/v2/{apiKey}/api/v2/tx/{txid}. Please confirm this composition is what node-gateway is exposing, since I couldn't verify against a live endpoint pre-launch — if the UTXO REST is mounted without the API key in the path, the server URL needs to be adjusted to https://{network}.g.alchemy.com (or wherever it actually lives).
  • The UTXO API is wired into each of the 4 Bitcoin-style chain sections in docs.yml as - api: UTXO API Endpoints; api-name: utxo with flattened: true, so users browsing Bitcoin / Bitcoin Cash / Litecoin / Dogecoin all see the UTXO endpoints under that chain.

Validation

  • pnpm run generate:rpc and pnpm run validate:rpc: both pass cleanly with the new chain specs.
  • pnpm run validate:rest: 0 errors. The Woohoo! Your API description is valid. line appears for every spec including the new utxo.yaml. Existing warning counts in other specs are unchanged.
  • Prettier: clean for all new files.

Daikon coordination

These chain specs and the new UTXO OpenAPI are landing manually because Daikon's chain-config update for these 5 chains was not yet visible from the docs-agent side at PR time. Reviewers, please confirm with @dslovinsky that the upstream chain-config either already includes these chains or is landing in time for the Thursday launch, otherwise the next noon-EST Daikon Update Specs run could either clobber these new chain specs (if chain-config disagrees) or leave them unmanaged (if chain-config is silent on them). I did NOT add a chain-level x-bot-ignore because it is per-method, not per-chain — if reviewers want temporary protection while Daniel's PR lands, happy to push a follow-up that adds explicit method-level guards.

Open questions / things to double-check

  1. The utxo.yaml server URL composition — confirm the /v2/{apiKey}/api/v2/... path is correct.
  2. Examples in _components/bitcoin/methods.yaml are Bitcoin-mainnet-specific (real BTC block hashes, real BTC txids). Reusing them for BCH/LTC/DOGE is structurally sound but the example values won't match those chains. If we want chain-specific examples, that's a follow-up — happy to either spin a per-chain _components/<chain>/methods.yaml or thread chain-agnostic example data through.
  3. Daikon coordination, as above.

Linear

DOCS-71 — https://linear.app/alchemyapi/issue/DOCS-71/docs-for-5-new-bitcoin-ecosystem-chains-bch-ltc-doge-utxo-api

…T API

Adds JSON-RPC chain pages and OpenRPC specs for Bitcoin Cash (mainnet/testnet), Litecoin (mainnet/testnet), and Dogecoin (mainnet), each surfacing the same 38 Bitcoin-style methods that already live in src/openrpc/chains/_components/bitcoin/methods.yaml. Also adds a new src/openapi/utxo/utxo.yaml OpenAPI 3.1 spec covering the 12 Trezor Blockbook REST endpoints (block-index, tx, tx-specific, address, xpub, utxo, block, sendtx GET+POST, tickers-list, tickers, balancehistory) for all 7 supported UTXO networks (Bitcoin Mainnet, Bitcoin Testnet 4, Bitcoin Cash mainnet/testnet, Litecoin mainnet/testnet, Dogecoin Mainnet). Wires the UTXO API endpoints under each chain section in docs.yml.

Refs DOCS-71
@JackReacher0807 JackReacher0807 requested a review from a team as a code owner May 5, 2026 12:10
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 5, 2026

🔗 Preview Mode

Name Status Preview Updated (UTC)
Alchemy Docs ✅ Ready 🔗 Visit Preview May 5, 2026, 12:26 PM

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 5, 2026

🔍 Link Check

Status: ❌ Failed

Summary

Status Count
🔍 Total 8180
✅ Successful 6915
⏳ Timeouts 0
🔀 Redirected 453
👻 Excluded 682
❓ Unknown 0
🚫 Errors 129
⛔ Unsupported 1
Broken links (129) — click to expand

Errors per input

Errors in ./content/wallets/wallet-integrations/privy/jwt-auth-migration.mdx

Errors in ./content/tutorials/snapshots/worldchain.mdx

Errors in ./content/api-reference/litecoin/litecoin-api-quickstart.mdx

Errors in ./content/api-reference/data/webhooks/custom-webhooks-quickstart/custom-webhooks-quickstart.mdx

Errors in ./content/api-reference/bitcoincash/bitcoincash-api-overview.mdx

Errors in ./content/api-reference/dogecoin/dogecoin-api-faq.mdx

Errors in ./content/api-reference/bitcoincash/bitcoincash-api-quickstart.mdx

Errors in ./content/api-reference/starknet/starknet-api-faq.mdx

Errors in ./content/api-reference/base/base-api-faq.mdx

Errors in ./content/api-reference/arbitrum-nova/arbitrum-nova-deprecation-notice.mdx

Errors in ./content/api-reference/litecoin/litecoin-api-overview.mdx

Errors in ./content/api-reference/bitcoincash/bitcoincash-api-faq.mdx

Errors in ./content/api-reference/litecoin/litecoin-api-faq.mdx

Errors in ./content/tutorials/smart-wallets/learn-account-abstraction/introduction-to-account-abstraction.mdx

Errors in ./content/api-reference/dogecoin/dogecoin-api-overview.mdx

Errors in ./content/wallets/wallet-integrations/privy/signer-migration-overview.mdx

Errors in ./content/api-reference/dogecoin/dogecoin-api-quickstart.mdx

View workflow run

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: 2ab2dae346

ℹ️ 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".

Comment thread src/openapi/utxo/utxo.yaml Outdated
Codex flagged that Blockbook explicitly requires the trailing slash on POST /api/v2/sendtx/ (per upstream docs: 'NB: the / symbol at the end is mandatory.'). Generated clients following the no-slash spec literally would route-miss on the actual endpoint. Update the path key in src/openapi/utxo/utxo.yaml to include the trailing slash and disable the Redocly no-path-trailing-slash rule globally so the linter does not contradict upstream behavior.

Refs DOCS-71

Requested-by: @SahilAujla
Comment thread redocly.yaml
openapi: {}
rules:
"security-defined": off # APIs use API key in the URL path, not headers/query/cookie
"no-path-trailing-slash": off # Blockbook's POST /api/v2/sendtx/ requires a mandatory trailing slash; the rule conflicts with upstream behavior
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

wow that's dumb lmao

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.

4 participants