GrpcViewFunctionCallResult
GrpcViewFunctionCallResult
struct GrpcViewFunctionCallResult
The result of a single call in a batch of Move view function calls: either the outputs of the call or the error the node returned for it.
init(outputs:error:)
init(outputs: GrpcViewFunctionCallOutputs?, error: String?)
error
var error: String?
The error message, if the node refused to run the call.
outputs
var outputs: GrpcViewFunctionCallOutputs?
The outputs of the call, if the node ran it. A call that ran and aborted still has outputs,
with the abort in execution_error.