If you had legacy ESA with only ESA(CB) in payment then it will be migrated to New Styl ESA which is also a Contribution Based benefit.
So you will still be paid your NS ESA, this will then be treated as Other Income for UC and deducted from your calculated UC payment, the difference will then be paid.
NS ESA pays Class 1 NI Credits, UC pays Class 3 NI Credits, both count towards a full State Pension.
Gordon
Nothing on this board constitutes legal advice - always consult a professional about specific problems