Questions tagged [jsonrpsee]
The jsonrpsee tag has no usage guidance.
2
questions
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 ...
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 ...