CKB Pulse

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.

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)

More about CKB node, RPC and indexer

All 45 in this topic

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.

Drawn from public commits and checked against the commit each one came from and the project's code today. Read the source before you rely on one. Text under CC BY 4.0: credit LusoCryptoLabs, CKB lessons, with a link to the lesson. Want a lesson changed or removed? Open an issue.