How can I decode an extrinsic or event dynamically in rust? (I want to be able to decode across all parachains)
A lot of the heavy lifting seems to be
scale-info. There's a desub project that seems like it ought to be able to do this. I've managed to get a
&Type<PortableForm> based on the v14 metadata but I can't quite see how I can decode it (or alternatively decode it into a JsonValue).
Hmm will try this for extrinsics. Not sure on events?