RpcResult provides access to the response state of a rpc request called via
Whether or not the RPC completed successfully
The data returned by the RPC. If
success() is true the resulting data from your rpc, if false data associated with why it failed.