Lightning network – How to encode for LND `/ v2 / signer / verifymessage`?

Talking to a single node (small steps) I want to call /v2/signer/verifymessage giving the exit of lncli signmessage "Hello, Jessica". On the alice node activated Polar, I receive:


How do I encode this to send it to /v2/signer/verifymessage? I am not very familiar with handling low level strings. the api said to send bytes, but what format (hoping this question makes sense)?

If it helps I’m comfortable with Ruby, but I can probably figure it out if I see examples in JS or Python.

Source link