So I used __get_candid_interface_tmp_hack to get the canidid file of a canister that I can query here:
The candid service definition contains the definition of a function I would like to query:
When I query the availableCycles() function in the canister I get the expected result:
But when I query getRegistry() I get an empty array.
It makes me think that I am not converting the registry correctly from a linked list to an array:
The type I’m trying to cast to has the same structure as the candidid getRegistry function:
But ultimately the array I get is empty.
Any help will be appreciated.