playerComputeArtifact
Fetch a compiled CLIENT player artifact plus the metadata the browser broker needs to run it (player compute P3). Fail-closed: the caller must currently own the grid, be the version's author, hold run_client_code at app and grid scope, and the code must be admitted under the app's mode. Returns the gas-injected wasm bytes (base64), the declared client contract, and the per-dispatch fuel budget the glue worker enforces. Acquired (bought/rented) client code is served through the marketplace path in a later phase.
playerComputeArtifact(
appId: BigInt!
gridId: BigInt!
name: String!
versionId: String
): PlayerClientArtifact!
Arguments
playerComputeArtifact.appId ● BigInt! non-null scalar
App containing the owned grid.
playerComputeArtifact.gridId ● BigInt! non-null scalar
Owned grid containing the module.
playerComputeArtifact.name ● String! non-null scalar
Module name within the grid.
playerComputeArtifact.versionId ● String scalar
Optional specific version UUID; defaults to the current version.
Type
PlayerClientArtifact object
A compiled CLIENT-target player artifact plus the metadata the browser broker needs to run it (player compute P3). Served only to the current grid owner who authored the version, holding run_client_code, when the app's admission mode admits the code. The bytes are the gas-injected wasm32-unknown-unknown module; clientFuelPerDispatch is the per-dispatch fuel budget the glue worker enforces locally.