Skip to content

docs: document authenticated endpoints and API key usage#67

Merged
Sednaoui merged 2 commits into
mainfrom
docs/authenticated-endpoints
Jul 3, 2026
Merged

docs: document authenticated endpoints and API key usage#67
Sednaoui merged 2 commits into
mainfrom
docs/authenticated-endpoints

Conversation

@Sednaoui

@Sednaoui Sednaoui commented Jul 3, 2026

Copy link
Copy Markdown
Member

What

The authenticated endpoint contract existed only in the July 2025 release blog post; the docs told developers to "get your URL from the dashboard" without ever showing the URL format. This adds wallet/api/authenticated-endpoints:

  • Unified URL format https://api.candide.dev/api/v3/{CHAIN_ID}/{API_KEY} serving both Bundler and Paymaster; the old per-service formats are marked deprecated (per Marco), and the one code example still using them (InstaGas batch-sponsor page) is updated to the unified format
  • A keyed curl example with the documented eth_supportedEntryPoints response
  • AbstractionKit usage (same URL into Bundler and CandidePaymaster)
  • Rate limit guidance and key safety notes (scoping frontend keys with gas policies)
  • Sidebar entry under Bundler & Paymaster, cross-link from Public Endpoints

Needs your input before merge

Rate limits are still qualitative. If you can share numbers (public per-IP limit, per-tier request ceilings), I'll add a table; the section is structured to take one.

Verification

yarn build passes with no broken links.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation
    • Added a new guide for authenticated wallet API production endpoints, including the unified URL format, request/response examples, supported networks/methods, and authenticated rate-limit guidance.
    • Added safety practices for API key handling and noted deprecated legacy endpoint formats.
    • Updated the public endpoints rate-limit section to direct users to the authenticated setup.
    • Corrected an Instagas example paymaster endpoint URL to the new authenticated API format.
  • Chores
    • Updated site navigation to include the new “API Keys & Endpoints” documentation page.

The API-key URL format only existed in a blog post. Adds a dedicated
page: unified endpoint format, legacy formats, keyed curl example,
SDK usage, rate limit guidance, and key safety notes. Linked from the
sidebar and the public endpoints page.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
developer-docs Ready Ready Preview, Comment Jul 3, 2026 12:01pm

Request Review

@coderabbitai

coderabbitai Bot commented Jul 3, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 83ec35f5-1a72-49ae-8d10-a4ce3308d65a

📥 Commits

Reviewing files that changed from the base of the PR and between 2574d7f and 922816d.

📒 Files selected for processing (2)
  • docs/instagas/6-batch-sponsor-transactions.mdx
  • docs/wallet/api/authenticated-endpoints.md

📝 Walkthrough

Walkthrough

This PR adds a new authenticated wallet API documentation page, then updates the public-endpoints note, sidebar navigation, and an Instagas example to point to the new canonical URL format.

Changes

Authenticated Endpoints Docs

Layer / File(s) Summary
New authenticated endpoints page
docs/wallet/api/authenticated-endpoints.md
Documents the unified authenticated endpoint URL, request/response example, AbstractionKit usage, rate-limit notes, and key safety guidance.
Reference and sidebar updates
docs/wallet/api/public-endpoints.md, sidebars.js, docs/instagas/6-batch-sponsor-transactions.mdx
Adds the higher-limits link, registers the new doc in the sidebar, and updates the paymaster example URL to the new format.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Possibly related PRs

Poem

A rabbit found a newer path,
With keys and docs, no need for wrath. 🐇
One URL now rules the trail,
Through sidebar hops and example tale.
Hop on through, the links all match.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main change: documentation for authenticated endpoints and API key usage.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/wallet/api/authenticated-endpoints.md`:
- Around line 15-17: The markdown examples in authenticated-endpoints.md still
have unlabeled code fences, so update each affected fenced block to use the
correct language tag for syntax highlighting and to clear the markdownlint
warning. Find the examples around the documented endpoints and label them as
bash, json, or typescript as appropriate, keeping the existing content unchanged
while only adjusting the fence identifiers.

In `@docs/wallet/api/public-endpoints.md`:
- Line 40: The callout text uses “signup” as one word, but it should read “sign
up” for proper grammar. Update the wording in the public-endpoints documentation
callout so the sentence around Candide's Dashboard uses the two-word phrase,
keeping the rest of the message unchanged.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 209a6901-69b9-467b-99b3-685930a9bb97

📥 Commits

Reviewing files that changed from the base of the PR and between 0ccae71 and 2574d7f.

📒 Files selected for processing (3)
  • docs/wallet/api/authenticated-endpoints.md
  • docs/wallet/api/public-endpoints.md
  • sidebars.js

Comment on lines +15 to +17
```
https://api.candide.dev/api/v3/{CHAIN_ID}/{API_KEY}
```

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Tag the unlabeled code fences.

These examples still lack language identifiers, which keeps the markdownlint warning open and removes syntax highlighting. Please mark them as bash, json, and typescript as appropriate.

Also applies to: 21-23, 31-34

🧰 Tools
🪛 markdownlint-cli2 (0.22.1)

[warning] 15-15: Fenced code blocks should have a language specified

(MD040, fenced-code-language)

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/wallet/api/authenticated-endpoints.md` around lines 15 - 17, The
markdown examples in authenticated-endpoints.md still have unlabeled code
fences, so update each affected fenced block to use the correct language tag for
syntax highlighting and to clear the markdownlint warning. Find the examples
around the documented endpoints and label them as bash, json, or typescript as
appropriate, keeping the existing content unchanged while only adjusting the
fence identifiers.

Source: Linters/SAST tools


:::info
Need Higher Limits? For production use or higher rate limits, signup on [Candide's Dashboard](https://dashboard.candide.dev) to get your own Bundler and Paymaster URLs.
Need Higher Limits? For production use or higher rate limits, signup on [Candide's Dashboard](https://dashboard.candide.dev) to get your own Bundler and Paymaster URLs. See [API Keys & Endpoints](/wallet/api/authenticated-endpoints/) for the URL format and setup.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Use “sign up” instead of “signup”.

Small grammar fix in the new callout.

🧰 Tools
🪛 LanguageTool

[grammar] ~40-~40: Ensure spelling is correct
Context: ...r production use or higher rate limits, signup on [Candide's Dashboard](https://dashbo...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/wallet/api/public-endpoints.md` at line 40, The callout text uses
“signup” as one word, but it should read “sign up” for proper grammar. Update
the wording in the public-endpoints documentation callout so the sentence around
Candide's Dashboard uses the two-word phrase, keeping the rest of the message
unchanged.

Source: Linters/SAST tools

Removes the legacy formats section in favor of a deprecation caution,
and updates the one code example still using the old paymaster URL
format to the unified endpoint.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Sednaoui Sednaoui merged commit 8ac20ad into main Jul 3, 2026
2 of 3 checks passed
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