> For the complete documentation index, see [llms.txt](https://teos-docs.coreledger.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://teos-docs.coreledger.net/guides/meta-data/asset-metadata.md).

# Asset Metadata

This API allows you to get full **metadata** of a blockchain asset, including both **on-chain** information (data stored on the blockchain) and **off-chain** information (documents stored in DocumentDB). Metadata provides all the details needed to verify the authenticity and integrity of the asset.

The user can request metadata by providing the **unique asset ID**.

📘 [Learn more](https://app.gitbook.com/o/ZaeNizhnU47lCcTSk7wB/s/8Gkk33l0DIIchfRT86LP/~/changes/83/guides/meta-data) about meta data.

#### Endpoint

```
GET /assets/{uniqueAssetId}/metadata
```

#### Parameters

| **Parameter** | **Type**    | **Description**                | **Mandatory** |
| ------------- | ----------- | ------------------------------ | ------------- |
| uniqueAssetId | string(Hex) | Unique identifier of the asset | ✅             |

#### Response Structure

The method returns the following fields:

**General Asset Information**

| Parameter               | Type            | Description                                              |
| ----------------------- | --------------- | -------------------------------------------------------- |
| AssetName               | string          | Name of the asset                                        |
| BlockchainName          | string          | Name of the blockchain network where the asset is stored |
| IssuerAddress           | string (Hex)    | Address of the asset issuer                              |
| ContractAddress         | string (Hex)    | Smart contract address managing the asset                |
| UniqueAssetId           | string (Hex)    | Unique identifier of the asset                           |
| CreationBlockReference  | string          | Blockchain block number where the asset was registered   |
| BlockchainTransactionId | string (Hex)    | Hash of the registration transaction                     |
| OriginalDocumentHash    | string (Hex)    | Cryptographic hash of the original document              |
| OriginalDocumentData    | string (Base64) | Base64-encoded original document data                    |
| TransactionId           | string (GUID)   | TEOS transaction ID                                      |
| Amendments              | array           | List of amendments (can be empty)                        |

#### **Amendments (Changes)**

Each amendment has the following structure:

| Parameter               | Type            | Description                                              |
| ----------------------- | --------------- | -------------------------------------------------------- |
| AmendmentId             | string (Hex)    | Unique identifier of the amendment                       |
| BlockReference          | string          | Blockchain block number where the amendment was recorded |
| BlockchainTransactionId | string (Hex)    | Hash of the amendment transaction                        |
| TransactionId           | string (GUID)   | TEOS transaction ID                                      |
| Hash                    | string (Hex)    | Cryptographic hash of the amendment document             |
| Data                    | string (Base64) | Base64-encoded amendment document                        |

#### Responses

| Code | Description |
| ---- | ----------- |
| 200  | OK          |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://teos-docs.coreledger.net/guides/meta-data/asset-metadata.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
