Traits§
- FlorestaRPC
- A trait specifying all possible methods for floresta’s json-rpc
- JsonRPC
Client - Since the workflow for jsonrpc is the same for all methods, we can implement a trait that will let us call any method on the client, and then implement the methods on any client that implements this trait.