Skip to content
Fourohtwo

gaming.halowerk.com/v1/nft-metadata-mutate

Applies ordered set/remove attribute and set name/description operations to caller-supplied metadata, then hashes canonical output. It does not mint, sign, upload, mutate an on-chain token, preserve media, or verify ownership.

BaseAnswering
POSThttps://gaming.halowerk.com/v1/nft-metadata-mutate

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://gaming.halowerk.com/v1/nft-metadata-mutate", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"asset_id":"sword-0042","metadata":{"attributes":[{"key":"level","value":3},{"key":"element","value":"water"}],"description":"A weathered steel blade.","name":"Harbor Blade"},"operations":[{"key":"level","op":"set_attribute","value":4},{"key":"element","op":"remove_attribute"},{"op":"set_description","value":"A reforged weathered steel blade."}]}),
});
console.log(await res.json());

Example input

{
  "asset_id": "sword-0042",
  "metadata": {
    "attributes": [
      {
        "key": "level",
        "value": 3
      },
      {
        "key": "element",
        "value": "water"
      }
    ],
    "description": "A weathered steel blade.",
    "name": "Harbor Blade"
  },
  "operations": [
    {
      "key": "level",
      "op": "set_attribute",
      "value": 4
    },
    {
      "key": "element",
      "op": "remove_attribute"
    },
    {
      "op": "set_description",
      "value": "A reforged weathered steel blade."
    }
  ]
}

More from HALOWERK gamingwerk