Hello, anyone knows how to query the cycles balance from ICRC-1 tokens? Unlike EXT tokens, they lack the cycleBalance function.
There is no standard way to get an ICRC-1’s cycles balance. There’s two options: Your canister can expose a method that manually exposes the cycles. Or you can add the blackhole canister as a controller
Thank you, Severin. I added the blackhole canister as a controller however I’m still not sure how to check the cycles balance after that. Would you have any additional guidance?
You can follow the readme. It gives you the blackhole canister ID and shows how to query it