Skip to content

document typed data signing on /wallet/sign - #141

Merged
oxyn-payward merged 2 commits into
mainfrom
WAL-366-uoa-wallet-sign-typed-data
Nov 10, 2026
Merged

oxyn-payward merged 2 commits into
mainfrom
WAL-366-uoa-wallet-sign-typed-data

Conversation

@oxyn-payward

Copy link
Copy Markdown
Contributor

Note to Reviewers

This goes with the uoa-server change on WAL-366-wallet-sign-typed-data. Merge it when that deploys, or the docs will describe behavior that isn't live yet.

/wallet/sign used to sign only a plain message. It now also accepts EIP-712 typed data as transaction_data, which partners use to sign Polymarket orders and similar payloads. The Sign Data section only documented message.

Changes Made

  • Adds a typed-data cURL example (a Polymarket CLOB auth message) to the Sign Data section of uoa/api-reference/wallet-operations.mdx
  • Adds the transaction_data and raw_data_hash request parameters, and makes message one of two options instead of required
  • Refactors the warning and the raw_data_hash response field to cover both message and typed-data signing

Testing: How do you know it works?

  • Unit Tests
  • Integration Tests
  • Local Verification
  • Deploy Preview Verification

Manual Testing Guide

I tested the new example:

  • The raw_data_hash in it is the correct EIP-712 digest of its typed data.
  • A signature over it verifies with ethers 6.17's verifyTypedData, once EIP712Domain is left out of types, as the page notes.

The same request shape returns 200 against the uoa-server branch locally.

@oxyn-payward oxyn-payward self-assigned this Nov 10, 2026
@mintlify

mintlify Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
magic-labs 🟢 Ready View Preview Nov 10, 2026, 5:33 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

@oxyn-payward
oxyn-payward merged commit 1c9c3d0 into main Nov 10, 2026
6 of 7 checks passed
@oxyn-payward
oxyn-payward deleted the WAL-366-uoa-wallet-sign-typed-data branch November 10, 2026 17:59

This branch was successfully deployed

1 active deployment
staging — daeb6c96 Deployed Nov 10, 2026 by mintlify[bot]
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.

2 participants