Guide – Signing Transactions & Messages
In this guide we will request signatures from the Vault for common payload types:
- Plain text / hex messages
- EIP-712 typed data
- EVM transactions (legacy & EIP-1559)
- An EOA created in the Vault
- An access token with the corresponding
eoa:sign*
policies (or the admin key for testing)
The helper is fully generic – you get compile-time checks that the message
matches your types
.
All SDK functions return an object with { success, data, error }
. Prefer pattern matching over exceptions: