def METHOD_NAME(self, emulator_json: dict):
    request = {
        'from': self._tx.hex_sender,
        'to': self._tx.hex_to_address,
        'data': self._tx.hex_call_data,
        'value': hex(self._tx.value)
    }
    calculator = GasEstimate(self._config, self._solana, request)
    calculator.emulator_json = emulator_json
    self._estimated_gas = calculator.estimate()
    if self._estimated_gas <= self._tx_gas_limit:
        return
    message = 'gas limit reached'
    raise EthereumError(f'{message}: have {self._tx_gas_limit} want {self._estimated_gas}')