Skip to content

feat(card): add cardDelegation transaction type#8508

Open
Brunonascdev wants to merge 1 commit intomainfrom
feat/add-card-delegation-transaction-type
Open

feat(card): add cardDelegation transaction type#8508
Brunonascdev wants to merge 1 commit intomainfrom
feat/add-card-delegation-transaction-type

Conversation

@Brunonascdev
Copy link
Copy Markdown

@Brunonascdev Brunonascdev commented Apr 17, 2026

Explanation

This PR introduces a new TransactionType, cardDelegation, which is used to support setting the spending limit within the MetaMask Card mobile experience.

References

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've communicated my changes to consumers by updating changelogs for packages I've changed
  • I've introduced breaking changes in this PR and have prepared draft pull requests for clients and consumer packages to resolve them

Note

Low Risk
Low risk, type-only change: extends TransactionType with a new enum value, which may require downstream consumers to handle the additional case in switch statements.

Overview
Adds a new TransactionType enum member, cardDelegation, to represent MetaMask Card spending-limit delegation transactions, including inline JSDoc describing its purpose.

Reviewed by Cursor Bugbot for commit 848916f. Bugbot is set up for automated code reviews on this repo. Configure here.

@Brunonascdev Brunonascdev self-assigned this Apr 17, 2026
@Brunonascdev Brunonascdev requested a review from a team as a code owner April 17, 2026 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant