All chains
    Preparing search index...

    Type Alias eth_call

    eth_call: TxDescriptor<
        {
            data: Binary;
            dest: FixedSizeBinary<20>;
            effective_gas_price: FixedSizeArray<4, bigint>;
            encoded_len: number;
            eth_gas_limit: FixedSizeArray<4, bigint>;
            transaction_encoded: Binary;
            value: FixedSizeArray<4, bigint>;
            weight_limit: { proof_size: bigint; ref_time: bigint };
        },
    >

    Same as [Self::call], but intended to be dispatched only by an EVM transaction through the EVM compatibility layer.

    Parameters

    • dest: The Ethereum address of the account to be called
    • value: The balance to transfer from the origin to the newly created contract.
    • weight_limit: The gas limit used to derive the transaction weight for transaction payment
    • eth_gas_limit: The Ethereum gas limit governing the resource usage of the execution
    • data: The input data to pass to the contract constructor.
    • transaction_encoded: The RLP encoding of the signed Ethereum transaction, represented as [crate::evm::TransactionSigned], provided by the Ethereum wallet. This is used for building the Ethereum transaction root.
    • effective_gas_price: the price of a unit of gas
    • encoded len: the byte code size of the eth_transact extrinsic