Skip to main content
Cancel shares from a holder who is already denied by the token’s transfer-sender policy. Removing the holder from an allowlist freezes outgoing transfers; burnBlocked then burns the specified shares and reduces total supply.

Demo

New to B20? See the B20 Token Standard for the concepts and a full launch walkthrough. These samples target base-std@v1.0.0, viem@2.55.11, and Base Foundry v1.1.1.

Cancel and verify blocked shares

See the complete verified B20 examples for imports, client construction, and runnable projects.
The holder balance and total supply each fall by 100 EXM.
burnBlocked destroys shares; it does not move them to the issuer. Block the holder under TRANSFER_SENDER_POLICY first.

See also