Actions53
- Account Actions
- Block Actions
- Transaction Actions
- Contract Actions
- ERC20 Actions
- ERC721 Actions
- ERC1155 Actions
- Gas Actions
- Signature Actions
- Utils Actions
- Custom RPC Actions
Signature → Sign Message
AI-generatedSummary
Sign a message using the active Ethereum account
Inputs
- message (required) — The message to sign (UTF-8 string)
Output shape
a single string containing the hex-encoded signature
Empty on error; the signature is returned as a hex string
Examples
Example 1: Sign a custom message
Message: "Hello, Ethereum!"; returns a hex signature
Example 2: Sign a transaction hash
Message: transaction hash; returns corresponding signature