support for runtime RPC APIs
#631
Labels
needs thought
We need to resolve some questions before we can work on this
Milestone
Currently subxt is great of supporting
storage
andtransactions
but as substrate is increasingly moving towards these runtime RPC APIs which is a bit more work to use in context of subxt.The runtime RPC APIs works as follows:
state_call(method, call_data)
TransactionPaymentCallApi_query_call_info
One is example is when I tried to get
TransactionPaymentCallApi::query_call_info(call: Call, len: u32)
working:It's easy to get wrong if you are not really familiar how
scale encoding
worksThus, it would be great if subxt could generate these runtime APIs similar to how transactions and storage are supported by subxt but I don't know whether it possible to fetch these via the metadata or something else like inspecting the WASM blob.....
The text was updated successfully, but these errors were encountered: