Questions tagged [json-rpc]
The json-rpc tag has no usage guidance.
3
questions
5
votes
2
answers
668
views
How to decode extrinsic at json-RPC call's data(byte code)
I call json-RPC through the terminal and get the data as below.
extrinsics is raw byte, but I'm using polkadot-js(SCALE codec?) to decode it.
But I don't know which method to call.
"block": ...
4
votes
1
answer
362
views
Rpc payment_queryFeeInfo fails on Westend 9310
After the latest upgrade of Westend runtime to version 9310 the RPC call payment_queryFeeInfo fails with the following error message:
{"jsonrpc":"2.0","error":{"code&...
1
vote
0
answers
59
views
Get System info in custom RPC call
Hello I would like to be able to call
fn system_name(&self) -> RpcResult<String> {
Ok(self.info.impl_name.clone())
}
inside a custom rpc call
our custom rpc call is implemented like ...