Questions tagged [jsonrpsee]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
5 votes
1 answer
105 views

How to implement `into_rpc` method in jsonrpsee's rpc macro

I'm trying to add custom RPC to Substrate node template. As explained in the jsonrpsee's proc_macro doc here, I define BalancesApi trait where #[rpc(server)] attribute added, and implement ...
Shunsuke's user avatar
  • 432
2 votes
1 answer
129 views

How to call chain_getBlock with jsonrpsee?

I'm trying to call my node's chain_getBlock RPC method. I expect to provide a block hash, and get back a complete block. For starters, I've confirmed that the call I plan to make works as expected ...
JoshOrndorff's user avatar
  • 1,105