We want Runtime APIs to be executable in the Browser. This PR adds call execution for methods that do not need input values.
Open Question: How far should we go in a direction similar to Polkadot.js providing input forms generated from type information, that can be filled out to submit storage requests and runtime api calls?
I guess one blocker for this right now is that it is not clear what format that input should be in, especially for e.g. [u8;...] values. We would like to have a way to convert hex or ss58 formatted binary data into scale values which are then converted into scale encoded blobs.
We want Runtime APIs to be executable in the Browser. This PR adds call execution for methods that do not need input values.
Open Question: How far should we go in a direction similar to Polkadot.js providing input forms generated from type information, that can be filled out to submit storage requests and runtime api calls?
I guess one blocker for this right now is that it is not clear what format that input should be in, especially for e.g.
[u8;...]
values. We would like to have a way to convert hex or ss58 formatted binary data into scale values which are then converted into scale encoded blobs.