CKB Pulse
Lessons

What CKB learned

Start here · Glossary · Test yourself · Feed

LusoCryptoLabs/ckbfs-reader

Lessons from LusoCryptoLabs/ckbfs-reader

github.com/LusoCryptoLabs/ckbfs-reader

Do you maintain this project? Confirm its lessons in one issue

1 lessons found. All lessons

Search for a script's cells under both its data hash and its type id code hashWorkingChecked by the owner

A script deployed with a type id can be referenced by cells either as hashType data1 with the code's data hash or as hashType type with the deployment's type id hash (per network). An exact indexer search via client.findCells over only one form misses the other; here @ckbfs/api's useTypeID cells read as missing until the reader queried both forms and treated a combined count above one as an error.

#Indexer queries and cell collection #Type ID and upgrades · Sources (1) · 2026-10-24

Text under CC BY 4.0: credit LusoCryptoLabs, CKB lessons, with a link to the lesson. JSON · Want a lesson changed or removed? Open an issue.