octez.js TypeDocs
    Preparing search index...

    Interface PrecompileCall

    An EVM → Michelson call: an unsigned EVM transaction to the NAC precompile, to be completed (nonce, chain id, fees), signed and sent with an EVM library.

    interface PrecompileCall {
        data: `0x${string}`;
        direction: "evm-to-michelson";
        gasLimit: bigint;
        to: `0x${string}`;
        value: bigint;
    }
    Index
    data: `0x${string}`
    direction: "evm-to-michelson"
    gasLimit: bigint

    Default gas limit from NAC_RECOMMENDED_GAS, to replace if the call needs more

    to: `0x${string}`
    value: bigint

    Value sent along with the call, in wei