This is the simplest fitment question on the whole bike and one of the easiest to get wrong, which is an unusual combination and the reason this guide exists.
The simple part: Lectric publishes the tire size on its own product page. The XP4 runs 20 x 3.0. There is no ambiguity, no NOT PUBLISHED, no owner having to measure something with calipers. On a bike where the rack tube diameter, the handlebar bore and the seatpost size are all unpublished, this one number is simply stated.
The part that goes wrong: the market does not respect it. Search for an inner tube for this bike and 20x4.0 fat-bike tubes come back in the same result set as the correct ones, from the same brands, in stock, well reviewed. We found one while checking this category, and our keyword research separately recorded a 20x4 tube ranking for the exact phrase an XP4 owner would type. Nothing on those listings is lying. They are honest 20x4.0 tubes. They are just not for this bike, and nothing in the search results tells you which is which.
So this guide does two things. It names tubes at the correct size that were in stock when we checked, and it teaches you the check that does not depend on us being right, which is reading the ETRTO code. It also leaves the wrong size on the page, with the reason attached, because recognising it is the actual skill.