playerCodeClientArtifact
Fetch client WASM for an entitled marketplace install or an exact marketplace/self-authored grid attachment. Attachment fetches require current in-grid presence plus matching attachment consent or capability-bound author trust; self-authored code uses module/author admission rather than a synthetic listing. Every factor, including run_client_code, Buddy lease when enabled, and kill switches, fails closed as 'not found'.
playerCodeClientArtifact(
appId: BigInt!
listingId: String
attachmentId: String
versionId: String
): PlayerClientArtifact!
Arguments
playerCodeClientArtifact.appId ● BigInt! non-null scalar
App that owns the listing.
playerCodeClientArtifact.listingId ● String scalar
UUID of the marketplace listing. Required for an acquirer fetch; omit when fetching a grid attachment by attachmentId.
playerCodeClientArtifact.attachmentId ● String scalar
UUID of a grid client attachment. Supports marketplace and self-authored visitor fetches and binds entitlement to the exact attachment.
playerCodeClientArtifact.versionId ● String scalar
Optional version pin; must match the live install/attachment 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.