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