Wrap an EVM transaction into a call to the NAC gateway contract, so that it can be
signed and sent on the Michelson runtime.
A transaction without calldata becomes a native transfer through the %call
entrypoint; any other transaction becomes an EVM contract call through %call_evm.
constcall = buildMichelsonToEvmCall({ to:'0x1111111111111111111111111111111111111111', value:10n ** 15n, }); consttransfer = toTransferParams(call); // Check the gateway on the target network and simulate before signing.
Wrap an EVM transaction into a call to the NAC gateway contract, so that it can be signed and sent on the Michelson runtime.
A transaction without calldata becomes a native transfer through the
%callentrypoint; any other transaction becomes an EVM contract call through%call_evm.