# subsembly-core

### Overview

**`subsembly-core`** is a library that provides the core components and types for the **`Subsembly`** framework.

### Models

Folder consists of commonly used types in **`Subsembly`**, such as, **`Header`**, **`Extrinsic`**, **`Block`**, etc. All the models implement Codec interface from [`as-scale-codec`](https://github.com/limechain/as-scale-codec) and have corresponding SCALE encoding and decoding methods.

### Modules

Folder consists of commonly used modules inside **`Subsembly`** runtime. For instance, `Log` class to display messages to the Host.

### Utils

Folder consists of commonly used utility functions in **`Subsembly`**. For instance, it includes methods for serialising and deserialising data incoming from the Host.

###


---

# Agent Instructions: 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://subsembly.gitbook.io/subsembly/advanced/subsembly-core.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.
