# Halowerk Cross-Game Attribute Bridge

> Halowerk Cross-Game Attribute Bridge is a paid API for AI agents from gaming.halowerk.com, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-16).

Applies caller-supplied rename and numeric scale/offset mappings to scalar asset attributes across game contexts, then hashes the resulting canonical payload

## Facts

- Endpoint: POST https://gaming.halowerk.com/v1/cross-game-bridge
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/halowerk-cross-game-attribute-bridge-be37ce9d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GO6DN4xUlZWILeJsMSYe6

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability halowerk-cross-game-attribute-bridge-be37ce9d -d '<json body>'
```

Example prompt: Take my asset 'sword-7842' from GameA and remap its attributes to GameB's schema — rename 'damage' to 'attack_power' with a scale of 1.5 and offset of 10, rename 'durability' to 'shield_rating' with no scaling, keep any unmapped fields, and give me the canonical hash of the result.

## When to prefer this

Use this endpoint when you need to deterministically remap and rescale scalar asset attributes from one game's naming convention to another's, and want a canonical hash of the result for audit or deduplication. It is not a blockchain transfer, ownership change, or semantic validator — prefer it strictly for field renaming and numeric normalization pipelines.

## Known failure modes

- Missing required asset_id returns a 400 validation error
- Mapping rules referencing non-existent source_key fields are silently skipped or return empty remapped values
- Scale or offset values outside the declared numeric bounds (-1,000,000,000 to 1,000,000,000) are rejected with a 400 error
- More than 1000 mappings or attributes causes a 400 schema violation
- Malformed attribute value types (outside string, number, boolean, null) cause rejection
- Payment failure via x402 results in a 402 response before processing begins

## How this service works

Applies caller-supplied rename and numeric scale/offset rules to scalar attributes, optionally retaining unmapped fields, then hashes the canonical mapped payload. It does not transfer ownership, call a chain, validate either game, preserve semantics, or authorize asset use.

## Output

Returns the remapped attribute set with field names replaced according to caller-supplied mappings, numeric values adjusted by scale and offset where specified, optionally including unmapped fields, and a canonical hash of the final mapped payload.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "asset_id": {
   "type": "string",
   "maxLength": 256,
   "minLength": 1
  },
  "mappings": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "source_key",
     "target_key"
    ],
    "properties": {
     "source_key": {
      "type": "string",
      "maxLength": 128,
      "minLength": 1
     },
     "target_key": {
      "type": "string",
      "maxLength": 128,
      "minLength": 1
     },
     "numeric_scale": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": -1000000000
     },
     "numeric_offset": {
      "type": "number",
      "maximum": 1000000000000,
      "minimum": -1000000000000
     }
    },
    "additionalProperties": false
   },
   "maxItems": 1000
  },
  "attributes": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "key",
     "value"
    ],
    "properties": {
     "key": {
      "type": "string",
      "maxLength": 128,
      "minLength": 1
     },
     "value": {
      "type": [
       "string",
       "number",
       "boolean",
       "null"
      ]
     }
    },
    "additionalProperties": false
   },
   "maxItems": 1000
  },
  "source_game": {
   "type": "string",
   "maxLength": 128,
   "minLength": 1
  },
  "target_game": {
   "type": "string",
   "maxLength": 128,
   "minLength": 1
  },
  "retain_unmapped": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/halowerk-cross-game-attribute-bridge-be37ce9d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gaming.halowerk.com](https://www.zero.xyz/host/gaming.halowerk.com/llms.txt)
