Skip to main content

PlayerComputeInvokeResult

Synchronous result from invoking an admitted server player-module export as the current grid owner.

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

Fields

PlayerComputeInvokeResult.resultBase64 ● String! non-null scalar

Raw module result bytes encoded as base64.

PlayerComputeInvokeResult.resultJson ● String scalar

UTF-8 result when it is valid JSON; otherwise null.

PlayerComputeInvokeResult.fuelUsed ● BigInt! non-null scalar

Instrumented fuel consumed.

PlayerComputeInvokeResult.durationUs ● Int! non-null scalar

Wall-clock execution duration in µs.

Returned By

playerComputeInvoke mutation