Method Signature
Parameters
Wallet
required
The wallet to sign with (must have private key)
string
required
The message to sign
Returns
Returns the signature as a hex string (e.g.,"0x1234...").
Examples
- TypeScript
- JavaScript
Proof of Ownership
Sign-In with Ethereum (SIWE)
Related Methods
Sign Typed Data
Sign EIP-712 data
Create Wallet
Create new wallet