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

The demo above is mock only. If you want to see onchain demos on Vibenet, head to Base chain demos.
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 B20 token standard for the complete interface, roles, and policies.
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

Recover Funds

Reissue a blocked balance.

Pause Activity

Freeze all token activity.