Does data center version uses binary package of confluence on-prem or confluence cloud?

Any explanation or product documentation link would be helpful.

Hi @RoliTripathi,

Welcome to the Atlassian Developer Community.

The straightforward answer is that Data Center uses the same binaries as the On-prem (also known as Server) version and not the cloud one.
This is true for both Confluence and Jira.

Let me also link this topic that might be useful since it contains some more information that was useful to other developers.