Your search for "spindle nut" revealed the following:
How to Replace a Trailer Hub, Bearings & Grease Seal
Replacing a trailer hub is straightforward when the spindle is in good condition and the replacement hub actually matches it. The work itself is only half the job. The other half is correctly identifying the bearings, grease seal, bolt pattern, spindle family, hub type, and brake configuration before the old...
Idler Hub vs. Hub & Drum: Which Does My Trailer Need?
Trailer wheels can ride on two very different-looking parts: an idler hub or a hub & drum assembly. Both contain bearings and support the wheel, but only a hub & drum contains the internal braking surface used by drum-brake shoes. Before ordering a replacement hub, identify whether that wheel position...