# 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: 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://help.tokenpocket.pro/developer-en/scan-protocol/dynamic-qrcode.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.
