Do i need to use the rosetta API to interact with the ledger canister if I'm calling the ledger canister from another canister on the IC?

I have a canister already built out on the IC and I’m trying to integrate ICP payment via the ledger canister. I’ve only been able to find payment integrating documentation that references the rosetta API, which seems to be useful for integrating ICP with apps that aren’t hosted on the IC. but for dapps hosted on the IC, it seems like an unnecessary step since the rosetta API requires you to run a passive rosetta node off-chain in order to interact with the IC ledger canister. Could anyone point me to where I can find documentation and/or examples of how to integrate the ledger canister into my current canister? thank you in advance.