Skip to main content

ComputeInvokeResult

The synchronous result of a computeInvoke call. Unlike the spatial send surface (dual-success), this is direct RPC: the module ran and this is its output.

type ComputeInvokeResult {
resultBase64: String!
resultJson: String
fuelUsed: BigInt!
durationUs: Int!
}

Fields

ComputeInvokeResult.resultBase64 ● String! non-null scalar

The module's raw response bytes, base64-encoded.

ComputeInvokeResult.resultJson ● String scalar

The response decoded as JSON text when it parses as JSON; null otherwise.

ComputeInvokeResult.fuelUsed ● BigInt! non-null scalar

Fuel consumed by the call.

ComputeInvokeResult.durationUs ● Int! non-null scalar

Wall-clock duration in microseconds.

Returned By

computeInvoke mutation