I have a program (using Anchor), and a I wish to return a value from an RPC call. I understand that this was not possible a few months ago but now is, though I'm having trouble finding any docs/examples.
Edit: example here: https://github.com/coral-xyz/anchor/blob/master/tests/cpi-returns/tests/cpi-return.ts#L45-L68