Signing walkthrough
This page points to the signing reference, which now lives on another page.
/exchange actions are signed with structured EIP-712 typed data (eth_signTypedData_v4).
That is the one signing scheme. The end-to-end walkthrough now lives in
typed-data signing. It covers the domain, the type string per action,
the digest, worked examples and local verification.
Every /exchange request carries an EIP-712 typed-data signature. The wallet shows each action
field by name. The server rebuilds the typed struct from action.type and action.params,
recomputes the digest, and recovers the signer. The signer is the account, or an approved
agent of the account. There is no second scheme.
Typed-data signing has the full specification and TypeScript and Python examples.
See also
- Typed-data signing: the signing scheme, end to end, including the
optional action
expiresAfterexpiry POST /exchange: the endpoint- Agent wallets: setup with more than one signer
- Idempotency: nonce strategy and retry
- Errors: the errors you can get while you roll out signing
- Networks: the chainId of each network