Skip to main content
Sometimes you need to stop one address from moving your stablecoin — a compliance hold or a support request. A blocklist denies only the addresses you list and leaves every other holder untouched. Bind it to the sender scope so a blocked account can’t send.

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.

Block and verify an account

See the complete verified B20 examples for imports, client construction, and runnable projects.
isAuthorized(policyId, account) returns false while the account is blocked.
This only stops outgoing transfers when the blocklist is bound to TRANSFER_SENDER_POLICY. Unblock with the same call and false.

See also