Roth IRA withdrawal

I did a ROTH withdrawal in 2025.  How can I confirm the amount was solely from deposits and not market gains.  The account has changed fiduciaries, but I do not have record of what was deposits.  Additionally during the time of roll-over the TRAD and ROTH went to the same fiduciary.  I can I confirm this?