Taquito TypeDocs
    Preparing search index...
    • Wrap a Michelson runtime operation into a call to the NAC precompile, so that it can be signed and sent on the EVM runtime.

      The result is an unsigned EVM transaction (to, data, value, gasLimit) to complete, sign and send with an EVM library.

      Parameters

      Returns PrecompileCall

      const call = buildEvmToMichelsonCall({
      kind: 'transfer',
      destination: 'tz1RvhdZ5pcjD19vCCK9PgZpnmErTba3dsBs',
      amount: 1000n,
      });
      // Before signing, estimate gas for the actual sender on the target network.
      // The returned gasLimit is an initial estimate, not an execution guarantee.