How to get the controller inside the canister with Rust/Motoko?

Thanks for the reply, I’ve figured it out.
Here are some examples of how to interact with the management canister(ic0), hope this will help the others.

5 Likes