my question sounds like this:

How to retrieve staking credential hash using cardano serialization library and what is it? How it differs from public key hash?

Thanks everyone for giving me some time and answering my question. :)