What ships
How it works
1
Submit events
Each time a machine earns revenue or performs a trackable activity, the operator submits an to the EventRegistry. The SDK validates the payload, computes a Full walkthrough: Submit events.
keccak256 data hash, and writes the minimal on-chain record. For a machine homed on Solana, submitEvent / submit_event route to the Solana EventRegistry program and sign with the owner’s or controller’s Solana wallet (SDK JS, SDK Python).2
Events accumulate
A freshly registered machine is until it has enough history to score. Events feed the scoring pipeline, which combines status, the consistency, history and tenure of revenue and activity, , and how recent the last event is.
3
Query the MCR
Any consumer can fetch the current rating from the public API.The server covers machines homed on peaq and on Solana. There is no public MCR API for Tokenomics 1.0 machines.Response includes the rating (AAA / AA / A / BBB / BB / B / NR / Provisioned), score, event counts, revenue trend, and bond status. Full walkthrough: Query MCR.
Cross-chain revenue
Revenue earned on another chain (e.g., ) is recorded on the machine’s home chain (peaq, or Solana for a machine homed there) withsourceChainId and sourceTxHash pointing to the origin . Consumers can verify each event against its source chain.
See Events and Trust levels.
The stays canonical on peaq. satellite contracts (IdentityLite, DIDLite, StakingLite) mirror Tokenomics 1.0 identity and stake records only and carry no MCR mirror; Economics 2.0 machines are read from peaq or their home chain. See the Omni-chain concept and the roadmap.
Concepts
Machine Credit Rating
AAA-to-NR scale, lifecycle from Provisioned to rated.
Events
Revenue and activity records that feed MCR.
Trust levels
Self-reported, on-chain verifiable, hardware-signed.
SDK reference
submitEvent: Write a single event to EventRegistry.validateSubmitEventParams: Validate event params client-side.computeDataHash: keccak256 of raw event data.queryMcr: Fetch a machine’s rating from the MCR API.
API reference
GET /mcr/{did}
Rating, score, trend, bond status for a single machine.
GET /operator/{did}/machines
Paginated operator fleet with per-machine MCR.
Guides
Submit events
Event types, validation, data hashing, cross-chain pattern.
Query MCR
Fetch ratings from curl, JS, or Python.

