> For the complete documentation index, see [llms.txt](https://help.tokenpocket.pro/developer-en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.tokenpocket.pro/developer-en/scan-protocol/dynamic-qrcode.md).

# Dynamic QRCode

The dynamic qrcode is used to solve the problem of too much data in one picture

```
tp:multiFragment-version=1.0&protocol=TokenPocket&data={
	"content": "0000000000004454F5300000000008_32342342", //fragment
	"index": "5/7" //5 is the current fragment index, 7 is fragment amount
}

tp:multiFragment //action
content //fragment content + "_" + full data crc32
index 
```

### How to use

Here is a demo to show how to use TokenPocket dynamic qrcode protocol to show data: aaaaabbbbbbbbbbbccccccccccccddddddddddddddeeeeeeeeeeeeeee

* First split the full data to two parts : 1 aaaaabbbbbbbbbbbcccccccccccc 2  ddddddddddddddeeeeeeeeeeeeeee
* Generate fragments with TokenPocket dynamic qrcode

```

tp:multiFragment-version=1.0&protocol=TokenPocket&data=
    { 
        "content": "aaaaabbbbbbbbbbbcccccccccccc_3207688794",
        "index": "0/2"
    }
tp:multiFragment-version=1.0&protocol=TokenPocket&data=
    { 
        "content": "aaaaabbbbbbbbbbbcccccccccccc_3207688794",
        "index": "1/2"
    } 
```

* Generate picture with fragment data, and then get Gif or other video file with the all pictures

### **Normative References**

> <https://github.com/BlockchainCommons/Research/blob/master/papers/bcr-2020-005-ur.md>


---

# 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, and the optional `goal` query parameter:

```
GET https://help.tokenpocket.pro/developer-en/scan-protocol/dynamic-qrcode.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
