Note: groups.io will be down for maintenance on Monday, September 26th, starting at 9AM Pacific Time (4PM Monday September 26, 2022 UTC), for approximately one hour.
Re: Electrical Code for Train Layouts
Wago makes two similar types. The older type is good but the newer one is best. They are the type 221. Here is a listing on Ebay:
The Wago parts are UL rated for household wiring as well. Beware of the Chinese imitations. They are not UL rated and may be fine for your low voltage stuff but don't wire them to 120V circuits. I have used them professionally and on my layout and they are great.