mnft.getMachineDid(GetMachineDid)
Read and deserialize a DID document from a Machine NFT. This is a read-only call.
GetMachineDid Type Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| machineNft | string | Required | Machine NFT contract address. |
| tokenId | string | Required | Machine NFT token ID. |
Returns
| Field | Type | Description |
|---|---|---|
| didDocument | Object | Deserialized DID document for the machine. |

