Please describe the feature you’d like to see added.
Add typed receive-request APIs to interfaces::Wallet so GUI code passes normal fields (address, label, message, amount, date) instead of serialized blobs.
Is your feature related to a problem, if so please describe it.
The current interface uses raw strings for receive requests, and GUI code serializes/de-serializes RecentRequestEntry itself. That couples GUI code to wallet storage format and makes format changes risky. Gui actually crashes if it can’t de-serialize the string.
Describe the solution you’d like
Add typed wallet methods for receive requests (list/save/delete). UI interfacing with the wallet should have clean types/objects so it knows exactly what to expect.
The wallet should likely also be responsible for assigning ids, handle legacy entries, and deal with compatibility.
Describe any alternatives you’ve considered
Keep the current string API and just harden GUI parsing. GUI still owns the storage format, though, and you just have to hope all of the user interfaces interacting with the wallet data are serializing the data in the same way.
Please leave any additional context
No response