In Motoko, let f
be a shared method and b
be arguments of f
encoded as a blob (e.g. by to_candid
). How to call f
with these arguments, if the types of f
arguments are unknown (so, we can’t use from_candid
).
In my question, the name of the function f
is unknown. Also, its canister is unknown. Only a shared function variable f
is known.