Skip to main content
peaqID is a W3C that identifies a machine across every chain it transacts on.

DID format

A machine’s peaqID has one format. Accounts keep the older address form.

Economics 2.0 machines

The machine ID is uint256(keccak256(abi.encode(machineType, credentialSubject))), the same value as the machine’s ERC-721 token ID in MachineRegistry. The DID document (controller, verification methods, authentication indices, service endpoints) is stored in MachineRegistry itself at activation and updated with the DID setters; id is computed on read, never supplied. Documentation and data API URLs live in serviceEndpoints. There is no mapping from an address-form DID to a machine ID. A machine homed on Solana keeps the same did:peaq:<decimal id> form; its DID document lives in the machine’s Solana accounts, verification-method controllers are base58 Solana keys, and each list holds at most 8 entries with 128 UTF-8 bytes per string. See Solana onboarding: the DID document and Economics 2.0.

Address DIDs

did:peaq:0x<address> names an account: an operator, the signing key of a Stream data package, or one of the roughly 3.5 million peaqID holders from before peaqOS, who keep their peaqIDs. It is never an Economics 2.0 machine’s peaqID: the MCR, the SDKs and the CLI refuse it wherever a machine DID is expected. Machines onboarded under Tokenomics 1.0 were identified this way: see legacy machines.

Resolving a peaqID

The resolves an Economics 2.0 machine at https://mcr.peaq.xyz/machine/did:peaq:<decimal machine id>. It does not resolve address DIDs: did:peaq:0x... returns 400 Invalid machine DID format.
The profile reports data_visibility: "private" for every machine and carries no rows or partner data. data_api is present when the machine’s DID document carries a peaq-data-api service endpoint. The SDK response types keep optional event_data, partner_data, and partner_data_error keys; the MCR API does not return them.