Questions tagged [custom-rpc]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1 votes
1 answer
10 views

Similar eth_call for substrate

a function like we have in ethereum : eth_call exists for substrate ? Thank you.
user avatar
  • 49
0 votes
2 answers
19 views

runtime custom rpc is not taking "at" params as optional

I have an rpc #[rpc] pub trait ShivarthuApi<BlockHash> { #[rpc(name = "shivarthu_challengerevidence")] fn get_challengers_evidence( &self, at: Option<...
user avatar
0 votes
2 answers
52 views

Custom RPC parameters

I'm trying to return an item that is within a storageMap. Its key is a Vec(u8), but I don't know how to send this type using a curl call. I tried using the id as string and using its hex version and I ...
user avatar
  • 542
1 vote
1 answer
26 views

Releasing custom RPC implementation on only a single testnet runtime

We have multiple testnet runtimes configured for the node. A new pallet I'm building is only available for testing in one testnet. There is also a new custom RPC I have written to call into the new ...
user avatar
  • 113