Skip to main content
is the ERC-721 that represents a machine on peaq. It anchors a machine’s identity and links to its credit history.

Economics 2.0: one NFT, one ID

Machines activated under Economics 2.0 get one ERC-721 in MachineRegistry, minted inside the same activateMachine transaction that stores the DID document and bonds the tier. The token ID is the machine ID: uint256(keccak256(abi.encode(machineType, credentialSubject))), a full-width value, and the DID is did:peaq:<that id>. Transferring the NFT moves ownership of the machine (the account that can rotate the DID controller and transfer again) and leaves the controller in place. Cross-chain movement of a 2.0 machine is a whole-record relocation through MachineBridgeAdapter, which is disabled on chain today. A 2.0 machine can instead be created on Solana: its identity, DID document and Machine NFT are then Solana accounts owned by a Solana key, while the bond is paid on Solana and booked on peaq, where the peaq-side registry entry stays. That is a creation, not a relocation. See Onboard a machine on Solana. Machines onboarded under Tokenomics 1.0: see legacy machines.

Machine Card

The Machine Card is a peaqOS registration document that follows the ERC-8004 registration file pattern. The serves it for Economics 2.0 machines at /machines/{machine_id}, where machine_id is the decimal machine ID. Example for a peaq-homed 2.0 machine:
See GET /machines/{machine_id} for every field and the Solana-homed shape. For the MCR score, use GET /machine/{did} or GET /mcr/{did}; the revenue summary and trend are on /mcr/{did} only. /mcr/{did} is cached for 3600 seconds, except when mcr_degraded is true or the machine is homed on Solana; /machine/{did} is computed on each request.

Metadata flow

For a peaq-homed Economics 2.0 machine, tokenURI on MachineRegistry returns an empty string. For a machine homed on Solana it reverts with ERC721NonexistentToken, because the token lives on Solana. Read a 2.0 machine’s metadata from GET /metadata/{token_id} on https://mcr.peaq.xyz directly (the token ID is the machine ID). It returns the same shape as GET /machine/{did}: the full machine profile. The lighter Machine Card (ERC-8004 registration document) lives at a separate endpoint: GET /machines/{machine_id}.