Skip to content

Commit

Permalink
Update two-candles-sit.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jxom authored May 30, 2023
1 parent 404bdc3 commit d87ab3a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .changeset/two-candles-sit.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,10 @@
"viem": patch
---

Added ability to hash data representation of `message` in `signMessage`, `verifyMessage`, `recoverMessageAddress`.
Added ability to hash data representation of `message` via a `raw` attribute in `signMessage`, `verifyMessage`, `recoverMessageAddress`.

```ts
await walletClient.signMessage({
message: { raw: '0x68656c6c6f20776f726c64' }
})
```

0 comments on commit d87ab3a

Please sign in to comment.