Skip to content

Conversation

spencerstock
Copy link
Contributor

@spencerstock spencerstock commented Sep 11, 2025

What changed? Why?

Added new fetchPermission utility function documentation to the Base Account SDK spend permissions documentation. This function allows retrieving a single spend permission by its hash identifier, complementing the existing fetchPermissions function that retrieves multiple permissions.

Key changes:

  • Created new documentation page for fetchPermission utility
  • Updated fetchPermissions documentation to clarify that the spender parameter is optional
  • Updated coinbase_fetchPermissions RPC method documentation to reflect optional spender parameter
  • Added fetchPermission to the navigation structure in docs.json
  • Added references to the new utility in the spend permissions guide

Notes to reviewers

The new fetchPermission utility provides a more direct way to retrieve individual permissions when you have a permission hash, which is useful for tracking specific permissions across sessions.

How has it been tested?

Documentation changes only - verified markdown formatting and code examples are syntactically correct.

@cb-heimdall
Copy link
Collaborator

cb-heimdall commented Sep 11, 2025

✅ Heimdall Review Status

Requirement Status More Info
Reviews 1/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

@spencerstock spencerstock merged commit 2526dec into master Sep 11, 2025
8 checks passed
@spencerstock spencerstock deleted the spencer/fetch-permission-updates branch September 11, 2025 18:17
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.

3 participants