The number of credits needed to provide benefits for survivors depends on the worker's age when they die.  No one needs more than 40 credits or ten years of work to be eligible for any Social Security benefit.
What happens with minors when I die?
If you are the unmarried child under 18 up to 19 if attending elementary or secondary school full time of a worker who dies they can be eligible for survivors benefits.
No, I do not need that information at this time.