Skip to main content

Questions tagged [json-rpc]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
5 votes
2 answers
860 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": ...
PaperFrog's user avatar
  • 495
4 votes
1 answer
392 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&...
Valentun's user avatar
  • 220
1 vote
0 answers
65 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 ...
cibou's user avatar
  • 131