All lessons · CKB node, RPC and indexer · Start here · Glossary
Indexer RPC module must be listed in ckb.toml rpc modules for get_cells on devnetWorkingFrom one fix
From one fix · Check: right · Checked 2026-11-19
CKB serves get_cells, get_indexer_tip and the other indexer RPC methods only when "Indexer" is listed in the [rpc] modules array of ckb.toml. The ckb.toml generated in the nervos/ckb 0.209.0 devnet image used here leaves Indexer out, so add it before relying on cell collection against a devnet node. Then confirm with a real indexer call such as get_cells after the node starts.
Why it matters: Without Indexer in the rpc modules, get_cells is unavailable on the devnet node, so cell discovery code cannot be exercised and fails confusingly mid-implementation instead of as a missing prerequisite.
A test changed in the same commit
It sits next to the fix. We did not run it.
- toastmanAu/daowow:
tests/devnet/node_harness.py,tests/devnet/test_node_harness.py
- Concepts
- Indexer queries and cell collection, Testing and devnet
- Evidence
- From one fix: from one project, checked against its commit
- First seen
- 2026-09-18
- Last changed
- 2026-09-18
- Last checked
- 2026-11-19
- Check against the commit
- right: the lesson follows from its commit and still holds in the code today
Sources (1)
- 2026-09-18 · toastmanAu/daowow · more from this project
More about CKB node, RPC and indexer
- Conflict an orphaned transaction's input on the winning branch when testing a reorg rollback
- Indexer free cell discovery by block scan plus get_live_cell on a local chain
- Never pass the terminal "0x" cursor back to indexer get_cells
Do you maintain a project this lesson came from? Confirm or correct it
Cite this lesson
LusoCryptoLabs, "Indexer RPC module must be listed in ckb.toml rpc modules for get_cells on devnet", CKB lessons, https://pulse.lusocryptolabs.com/learned/node/indexer-rpc-module-must-be-listed-in-ckb-toml-rpc-modules-fo, CC BY 4.0, last changed 2026-09-18.