call raw 128
This section is a work in progress.
Examples:
import { Canister, ic, nat, Principal, text, update } from 'azle/experimental';
export default Canister({
executeCallRaw128: update(
[Principal, text, text, nat],
text,
async (canisterId, method, candidArgs, payment) => {
const candidBytes = await ic.callRaw128(
canisterId,
method,
ic.candidEncode(candidArgs),
payment
);
return ic.candidDecode(candidBytes);
}
)
});