Skip to content

Commit

Permalink
updates RpcWalletNote docs with memoHex
Browse files Browse the repository at this point in the history
adds memoHex field

adds note explaining difference between memo and memoHex
  • Loading branch information
hughy committed Apr 16, 2024
1 parent cfc3888 commit 770e403
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions content/documentation/rpc/objects/rpcWalletNote.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export type RpcWalletNote = {
assetId: string
value: string
memo: string
memoHex: string
sender: string
owner: string
noteHash: string
Expand All @@ -29,6 +30,8 @@ export type RpcWalletNote = {
}
```
The `memo` field returns the note memo as a utf-8 string with any Unicode control characters removed. The `memoHex` field returns the note memo as a hex string.
Usage:
- [wallet/getAccountNotesStream](/developers/documentation/rpc/wallet/get_account_notes_stream)
- [wallet/getNotes](/developers/documentation/rpc/wallet/get_notes)
Expand Down

0 comments on commit 770e403

Please sign in to comment.