CKB Pulse

All lessons · Other · Start here · Glossary

Occupied capacity minimum for every outputBasicFrom one fix

From one fix · Check: right · Checked 2026-11-19

Every output must hold at least its occupied capacity: (8 for the capacity field + 33 + lock args length, plus 33 + type args length if a type script is present, plus data length) × 10^8 shannons. That is 61 CKB for a plain secp256k1 lock with 20 byte args and 63 CKB for a JoyID lock. A fixed payout or fee output set below the recipient lock's minimum is rejected, so choose a constant at or above the largest minimum among the locks you accept.

Why it matters: A fee or payout output set below the recipient lock's occupied capacity is rejected, so the whole transaction cannot be built or submitted.

A test changed in the same commit

It sits next to the fix. We did not run it.

Concepts
Capacity and cell size, Transaction building and fees
Evidence
From one fix: from one project, checked against its commit
First seen
2026-11-14
Last changed
2026-11-15
Last checked
2026-11-19
Check against the commit
right: the lesson follows from its commit and still holds in the code today

Sources (2)

More about Other

All 9 in this topic

Do you maintain a project this lesson came from? Confirm or correct it

Cite this lesson
LusoCryptoLabs, "Occupied capacity minimum for every output", CKB lessons, https://pulse.lusocryptolabs.com/learned/other/occupied-capacity-minimum-for-every-output, CC BY 4.0, last changed 2026-11-15.

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.