Skip to main content

GrpcViewFunctionCallOutputs

type GrpcViewFunctionCallOutputs​

The outputs of a Move view function call.

Exactly one of `return_values` and `execution_error` is populated when the read mask includes `execution_result`: the first if the call returned, the second if it aborted.

type GrpcViewFunctionCallOutputs struct {
// The values the function returned.
ReturnValues *[]GrpcCommandOutput
// Why the call aborted.
ExecutionError *GrpcSimulatedExecutionError
}

func (*GrpcViewFunctionCallOutputs) Destroy​

func (r *GrpcViewFunctionCallOutputs) Destroy()