pub fn parse_icrc1_transfer_arg(caniser_call_input: CanisterCall) -> TransferArgExpand description
Parses an ICRC1 transfer canister call.
This function takes a CanisterCall input, decodes the base64-encoded argument,
and deserializes it into a TransferArg struct.
§Arguments
caniser_call_input- TheCanisterCallcontaining the base64-encoded transfer argument.
§Returns
A TransferArg struct containing the decoded transfer arguments.
§Panics
This function will panic if the base64 decoding or deserialization fails.