The frames spec document (https://github.com/farcasterxyz/docs/blob/main/docs/reference/frames/spec.md) states:
The Signed Message can be validated by calling the validateMessage API on Hubs, as shown in the script below.
However there is no example in the document.
Instead the doc should show or link the idiomatic way to validate the frame message from the octet string.