Module floresta_cli::rpc

source ·

Traits

  • A trait specifying all possible methods for floresta’s json-rpc
  • 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.