Skip to content

[Smart Accounts Kit] document utility for single delegation encode/decoding#2738

Open
AyushBherwani1998 wants to merge 2 commits intomainfrom
feat/new-functions
Open

[Smart Accounts Kit] document utility for single delegation encode/decoding#2738
AyushBherwani1998 wants to merge 2 commits intomainfrom
feat/new-functions

Conversation

@AyushBherwani1998
Copy link
Member

@AyushBherwani1998 AyushBherwani1998 commented Mar 3, 2026

Description

  • Documents decodeDelegation and encodeDelegation functions in reference docs.

Issue(s) fixed

Fixes #

Preview

Checklist

  • If this PR updates or adds documentation content that changes or adds technical meaning, it has received an approval from an engineer or DevRel from the relevant team.
  • If this PR updates or adds documentation content, it has received an approval from a technical writer.

External contributor checklist

  • I've read the contribution guidelines.
  • I've created a new issue (or assigned myself to an existing issue) describing what this PR addresses.

Note

Low Risk
Low risk documentation-only change that adds reference docs for encodeDelegation/decodeDelegation and clarifies decodeDelegations usage; no runtime behavior is modified.

Overview
Adds reference documentation for the single-delegation utilities decodeDelegation and encodeDelegation, including parameters and usage examples.

Clarifies when to use decodeDelegations (for permission contexts containing delegation chains) versus decodeDelegation (for a single encoded delegation).

Written by Cursor Bugbot for commit fd2709a. This will update automatically on new commits. Configure here.

@AyushBherwani1998 AyushBherwani1998 requested review from a team as code owners March 3, 2026 21:34
@vercel
Copy link

vercel bot commented Mar 3, 2026

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

Project Deployment Actions Updated (UTC)
metamask-docs Ready Ready Preview, Comment Mar 3, 2026 9:37pm

Request Review

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