Sign data using a specific account with Ethereum-specific signature format
sign(keccak256("\x19Ethereum Signed Message:\n" + len(message) + message)))
.Code | Message | Description |
---|---|---|
4001 | User denied signature request | User rejected the signing request |
4100 | Requested method not supported | The method is not supported by the wallet |
4200 | Wallet not connected | No wallet connection available |
4300 | Invalid parameters | The provided parameters are invalid |