Skip to main content

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

Proof of Ownership

Sign-In with Ethereum (SIWE)

Never sign messages from untrusted sources! Signatures can authorize actions - always review what you’re signing.

Sign Typed Data

Sign EIP-712 data

Create Wallet

Create new wallet