id: string (defaultdid:peaq:<address>)controller: string (default: same asid)verificationMethods: array of objects{ id: string, type: string, controller: string, publicKeyMultibase: string }authentications: array of strings (verification method references)services: array of objects{ id: string, type: string, serviceEndpoint?: string, data?: string }signature: object{ type: string, issuer: string, hash: string }name: string (the on-chain key for the document; defaultdid:peaq:<address>, which is the only nameread_identity()looks up)tx_options,on_status: transaction options/callback
- Omit every field to get the minimal document.
- A service carries either
serviceEndpointor compactdatafor small payloads. - For FINAL confirmation and status logs, pass
tx_optionsandon_status.

